An open API service indexing awesome lists of open source software.

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.

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);
```