webdriverio-automation
Version:
WebdriverIO-Automation android ios project
21 lines (13 loc) • 429 B
Markdown
## jsonwp-status
Library of status codes for the Selenium [JSON Wire Protocol](https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md).
### Usage
```
import { statusCodes } from 'appium-base-driver';
statusCodes.NoSuchContext;
// -> {code: 35, summary: 'No such context found'}
```
```
import { getSummaryByCode } from 'appium-base-driver';
getSummaryByCode(0);
// -> 'The command executed successfully.'
```