https://github.com/angular/webdriver-js-extender
Utilities for supporting additional JSON protocol commands in WebDriver, for use with Protractor.
https://github.com/angular/webdriver-js-extender
Last synced: 9 months ago
JSON representation
Utilities for supporting additional JSON protocol commands in WebDriver, for use with Protractor.
- Host: GitHub
- URL: https://github.com/angular/webdriver-js-extender
- Owner: angular
- License: mit
- Archived: true
- Created: 2016-06-23T16:37:29.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-08-12T12:25:51.000Z (almost 5 years ago)
- Last Synced: 2024-09-26T11:02:57.681Z (almost 2 years ago)
- Language: TypeScript
- Homepage:
- Size: 371 KB
- Stars: 8
- Watchers: 11
- Forks: 20
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
WebDriver JS Extender
=====================
This tools extends [Selenium's javascript implementation](
https://www.npmjs.com/package/selenium-webdriver) of the WebDriver API
to include additional commands (e.g. commands required for [appium](
https://github.com/appium/appium)).
You can view the full list of commands in [`lib/index.ts`](lib/index.ts#L8).
Usage
-----
Use WebDriver JS Extender's `extend` function on your webdriver instance:
```js
var extendedWebdriver = require('webdriver-js-extender').extend(webdriver);
extendedWebdriver.setNetworkConnection(5);
```