Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/webdriverio-community/wdio-edgedriver-service
WebdriverIO service to start & stop EdgeDriver
https://github.com/webdriverio-community/wdio-edgedriver-service
edge edgedriver wdio wdio-plugin wdio-service
Last synced: 2 months ago
JSON representation
WebdriverIO service to start & stop EdgeDriver
- Host: GitHub
- URL: https://github.com/webdriverio-community/wdio-edgedriver-service
- Owner: webdriverio-community
- License: mit
- Archived: true
- Created: 2019-08-04T07:02:55.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-08-03T23:54:33.000Z (over 1 year ago)
- Last Synced: 2024-11-11T20:30:44.435Z (2 months ago)
- Topics: edge, edgedriver, wdio, wdio-plugin, wdio-service
- Language: TypeScript
- Homepage: https://webdriver.io
- Size: 2.34 MB
- Stars: 2
- Watchers: 8
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-webdriverio - EdgeDriver - Run Microsoft Edge browser seamlessly when running tests. (Plugins / Services)
README
⚠️ __DEPRECATION WARNING:__ This service got deprecated and is no longer maintained. If you use WebdriverIO __v8.14__ or higher. We recommend to remove the service as dependency and from your WebdriverIO configuration as it is no longer needed. For more information, please read [this blog post](https://webdriver.io/blog/2023/07/31/driver-management).
# WDIO EdgeDriver Service [![Tests](https://github.com/webdriverio-community/wdio-edgedriver-service/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/webdriverio-community/wdio-edgedriver-service/actions/workflows/test.yml) [![Audit](https://github.com/webdriverio-community/wdio-edgedriver-service/actions/workflows/audit.yml/badge.svg)](https://github.com/webdriverio-community/wdio-edgedriver-service/actions/workflows/audit.yml)
This service helps you to run Microsoft WebDriver (Edge) seamlessly when running tests with the [WDIO testrunner](https://webdriver.io/docs/gettingstarted.html).
It does not require a Selenium server, but uses the [Microsoft WebDriver](https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/) that is installed as a Windows Feature on Demand or as [`edgedriver`](https://www.npmjs.com/package/edgedriver) NPM package for Chromium-based Edge.
Example capabilities:
```js
capabilities: [{
browserName: 'MicrosoftEdge'
}]
```## Installation
```bash
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:
```js
// 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-.log`### `edgedriverOptions`
Options that are passed into EdgeDriver. See [driver docs](https://github.com/webdriverio-community/node-edgedriver#options) for more information.
Type: `EdgedriverParameters`
Default: _`{}`_----
For more information on WebdriverIO see the [homepage](https://webdriver.io).