@wdio/protocols
Advanced tools
Comparing version 5.15.4 to 5.15.6
{ | ||
"name": "@wdio/protocols", | ||
"version": "5.15.4", | ||
"version": "5.15.6", | ||
"description": "Utility package providing information about automation protocols", | ||
@@ -30,3 +30,3 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
}, | ||
"gitHead": "858fec0e989ccd0de4336e639f3afcabf4b78ce2" | ||
"gitHead": "e0eeb62c247e52e762a16b0b77c86c45d2164869" | ||
} |
@@ -1,2 +0,37 @@ | ||
WebdriverIO PROTOCOLS Service | ||
======================== | ||
WebdriverIO Protocol Helper | ||
=========================== | ||
This package stores the definition for various automation protocols such as [WebDriver](https://w3c.github.io/webdriver/) or vendor specific protocol extensions like for [SauceLabs](https://saucelabs.com/). Unless you are interested in generating a WebDriver client there should be no reason why you should need this package. This package holds the definition of the following protocols: | ||
- [WebDriver](https://w3c.github.io/webdriver/) | ||
- [JSON Wire Protocol](https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol) | ||
- [Appium](http://appium.io/) | ||
- [Mobile JSON Wire Protocol](https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md) | ||
- [SauceLabs](https://saucelabs.com/) | ||
- Chrome (WebDriver extension when running Chromedriver) | ||
- Selenium (when running Selenium Standalone Server) | ||
## Install | ||
To install the package, run: | ||
```sh | ||
$ npm install @wdio/protocols | ||
``` | ||
## Usage | ||
You can get data by importing the package as follows: | ||
```js | ||
import { WebDriverProtocol, MJsonWProtocol, JsonWProtocol, AppiumProtocol, ChromiumProtocol, SauceLabsProtocol, SeleniumProtocol } from '@wdio/protocols' | ||
/** | ||
* get description of session command | ||
*/ | ||
console.log(WebDriverProtocol['/session'].POST.description) | ||
``` | ||
---- | ||
For more information on WebdriverIO see the [homepage](https://webdriver.io). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
169074
38