wdio-edgedriver-service
TypeScript icon, indicating that this package has built-in type declarations

3.0.3 • Public • Published

WDIO EdgeDriver Service Tests Audit

This service helps you to run Microsoft WebDriver (Edge) seamlessly when running tests with the WDIO testrunner.

It does not require a Selenium server, but uses the Microsoft WebDriver that is installed as a Windows Feature on Demand or as edgedriver NPM package for Chromium-based Edge.

Example capabilities:

capabilities: [{
    browserName: 'MicrosoftEdge'
}]

Installation

npm install wdio-edgedriver-service --save-dev

Configuration

By design, only Edge is available. In order to use the service you need to add edgedriver to your service array:

// wdio.conf.js
export.config = {
    // MANDATORY: Add edgedriver to service array.
    // Default: empty array
    services: [
        'edgedriver',
        // service options
        {
            outputDir: './logs',
            // see https://github.com/webdriverio-community/node-edgedriver#options for more
            // options that can be passed into EdgeDriver directly
            edgedriverOptions: {
                verbose: true
            }
        }
    ],
};

Options

outputDir

The path where the output of the Safaridriver server should be stored (uses the config.outputDir by default when not set).

Type: string

logFileName

The name of the log file to be written in outputDir. Requires outputDir to be set in WebdriverIO config or as service option.

Type: string
Default: wdio-edgedriver-service-<cid>.log

edgedriverOptions

Options that are passed into EdgeDriver. See driver docs for more information.

Type: EdgedriverParameters
Default: {}


For more information on WebdriverIO see the homepage.

Package Sidebar

Install

npm i wdio-edgedriver-service

Homepage

webdriver.io

Weekly Downloads

7,166

Version

3.0.3

License

MIT

Unpacked Size

17.2 kB

Total Files

22

Last publish

Collaborators

  • wdio-user
  • rafalskorka