mirror of
https://github.com/appium/appium.git
synced 2026-10-28 12:21:20 +08:00
7ffda6681340dfbbdc82867fbcef0c241c6568b3
* Do proxying for W3C responses * If a W3C Response is provided by a proxy, map to the correct error * Checks if `value` is an object and `value.error` and maps it based on that (`value.error` is the W3C error code) * Broke off `errorFromCode` into `errorFromMJSONWPStatusCode` and `errorFromW3CJsonCode` * Rename '.error' property to correct W3C property * The error property in the ProtocolError objects should match up with https://www.w3.org/TR/webdriver/#handling-errors under the 'JSON Error Code' column * Added tests for all of these * Make ProxyRequestError work for W3C * Added an arg called `.w3c` that passes in the proxied W3C error * Fixed the `getActualError` function that looks for the .w3c variable and parses error from the code
appium-base-driver
This is the parent class that all appium drivers inherit from, along with a collection of globally-used Appium driver utilities. Each utility is documented in its own README in the code:
- BaseDriver
- The Appium Express Server
- The Mobile JSON Wire Protocol Encapsulation
- The JSONWP Proxy Library
- The JSONWP Status Library
Note: Issue tracking for this repo has been disabled. Please use the main Appium issue tracker instead.
Watch
gulp
Test
gulp once
Description
Cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol
360 MiB
Languages
TypeScript
94%
JavaScript
5.1%
HTML
0.8%