UNPKG

582 BMarkdownView Raw
1WebDriver JS Extender
2=====================
3
4This tools extends [Selenium's javascript implementation](
5https://www.npmjs.com/package/selenium-webdriver) of the WebDriver API
6to include additional commands (e.g. commands required for [appium](
7https://github.com/appium/appium)).
8
9You can view the full list of commands in [`lib/index.ts`](lib/index.ts#L8).
10
11Usage
12-----
13
14Use WebDriver JS Extender's `extend` function on your webdriver instance:
15
16
17```js
18 var extendedWebdriver = require('webdriver-js-extender').extend(webdriver);
19
20 extendedWebdriver.setNetworkConnection(5);
21```