mirror of
https://github.com/appium/appium.git
synced 2026-11-11 12:54:55 +08:00
Compare commits
15
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f8bec63e9 | ||
|
|
4105ef6b36 | ||
|
|
9d2a5a4c08 | ||
|
|
6cbac4ef1d | ||
|
|
b8d870f450 | ||
|
|
45ef248149 | ||
|
|
e3c4070e2c | ||
|
|
ad66f99739 | ||
|
|
c2d74d0b8f | ||
|
|
3f83adfe7a | ||
|
|
cb1a4f82db | ||
|
|
8cf0656ada | ||
|
|
49d4dc4743 | ||
|
|
d2e71d2af3 | ||
|
|
161256ab9c |
@@ -1,3 +1,62 @@
|
||||
CHANGES IN VERSION 1.16.0 (FROM 1.15.1)
|
||||
===================================
|
||||
|
||||
Appium 1.16.0 is a minor release
|
||||
|
||||
#### General
|
||||
* Fix handling of unexpected shutdown (https://github.com/appium/appium-base-driver/pull/370) (https://github.com/appium/appium/pull/13635) (https://github.com/appium/appium/pull/13662)
|
||||
* Beta support for Flutter (https://github.com/appium/appium/pull/12945)
|
||||
* Add log a custom event and get events (https://github.com/appium/appium-base-driver/pull/364, https://github.com/appium/appium-base-driver/pull/365)
|
||||
* Improve memory usage
|
||||
|
||||
#### IOS General
|
||||
* Fix creation of simulators on Xcode patch versions (https://github.com/appium/node-simctl/pull/89)
|
||||
* Support setting geolocation on simulators using [Lyft's set-simulator-location CLI](https://github.com/lyft/set-simulator-location) (https://github.com/appium/appium-ios-simulator/pull/249)
|
||||
|
||||
#### IOS (XCUITest):
|
||||
* Add support for shadow DOM elements (https://github.com/appium/appium-remote-debugger/commit/559395a16088142b27289dbac6d3a5ab36caa716)
|
||||
* fix problem in webview asynchronous execute on older versions of iOS, when low timeouts would cause the return value to never be returned (https://github.com/appium/appium-remote-debugger/pull/185)
|
||||
* Allow execution of WDA without app under test (https://github.com/appium/appium-xcuitest-driver/pull/1093)
|
||||
* Add `mobile: deleteFile` command for removing files/folders from the device (https://github.com/appium/appium-xcuitest-driver/pull/1095)
|
||||
* Fall back to `ios-deploy` if native install fails (https://github.com/appium/appium-xcuitest-driver/pull/1098)
|
||||
* Make sure ports are properly closed when cleaning up (https://github.com/appium/appium-xcuitest-driver/pull/1094)
|
||||
* Handle socket errors on session start (https://github.com/appium/appium-xcuitest-driver/pull/1101)
|
||||
* Properly handle creating simulators with patch versions (https://github.com/appium/node-simctl/pull/89)
|
||||
* Fix handling of Safari console log (https://github.com/appium/appium-remote-debugger/pull/176)
|
||||
* Add ability to interact with Shadow DOM in Safari (https://github.com/appium/appium-remote-debugger/commit/559395a16088142b27289dbac6d3a5ab36caa716)
|
||||
* New capabilities
|
||||
* `safariLogAllCommunication` - log all plists passed to and received from the Web Inspector (https://github.com/appium/appium-xcuitest-driver/pull/1105)
|
||||
* `safariLogAllCommunicationHexDump` - log the raw data passed to and received from the Web Inspector (https://github.com/appium/appium-xcuitest-driver/pull/1105)
|
||||
* `safariSocketChunkSize` - change the size of the data passed to the Web Inspector on real devices (https://github.com/appium/appium-xcuitest-driver/pull/1105)
|
||||
* `additionalWebviewBundleIds` - accept an array of bundle identifiers to poll for during webview app selection (https://github.com/appium/appium-xcuitest-driver/pull/1117)
|
||||
* `appPushTimeout` - timeout for application upload in millisecond, on real devices (https://github.com/appium/appium-xcuitest-driver/pull/1104)
|
||||
|
||||
#### Android General
|
||||
* Add `mobile: sensorSet` to gain access to setting device sensor data (https://github.com/appium/appium-android-driver/pull/555)
|
||||
* Speed up manifest parsing (https://github.com/appium/appium-adb/pull/471)
|
||||
* Fix process identification on older Android versions (https://github.com/appium/appium-adb/pull/472)
|
||||
* Fix batch permission setting (https://github.com/appium/appium-adb/pull/477)
|
||||
* Allow `appWaitDuration` to be set as low as `0` (https://github.com/appium/appium-adb/pull/479)
|
||||
|
||||
#### Android (UiAutomator2)
|
||||
* Add get clipboard for Android 10+ (https://github.com/appium/appium-uiautomator2-driver/pull/348)
|
||||
* Fix prefer IPv4 address to the host name (https://github.com/appium/appium-uiautomator2-driver/pull/343)
|
||||
* Fix Turn write access verification on Windows environment (https://github.com/appium/appium-uiautomator2-driver/pull/340)
|
||||
* Add bluetooth state as deviceInfo (https://github.com/appium/appium-uiautomator2-server/pull/312)
|
||||
* Allow session creation without starting an application (https://github.com/appium/appium-uiautomator2-driver/pull/337)
|
||||
|
||||
#### Android (Espresso)
|
||||
* Allow configuring Gradle, AGP, various SDK and Kotlin versions for Espresso server (https://github.com/appium/appium-espresso-driver/pull/496)
|
||||
* Many thanks to @tinder-ktarasov
|
||||
* Add get clipboard for Android 10+ (https://github.com/appium/appium-espresso-driver/pull/512)
|
||||
|
||||
#### Windows
|
||||
* Support WinAppDriver 1.2 release candidate (https://github.com/appium/appium-windows-driver/pull/60)
|
||||
* Important capabilities: `ms:waitForAppLaunch`, `ms:experimental-webdriver`
|
||||
* Add a possibility to customize application startup timeout (https://github.com/appium/appium-windows-driver/pull/59)
|
||||
* `createSessionTimeout` (https://github.com/appium/appium-windows-driver#windowsdriver-specific-capabilities)
|
||||
|
||||
|
||||
CHANGES IN VERSION 1.15.1 (FROM 1.15.0)
|
||||
===================================
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ example_usage:
|
||||
|
||||
javascript_wdio:
|
||||
|
|
||||
driver.endSession();
|
||||
driver.deleteSession();
|
||||
ruby:
|
||||
|
|
||||
quit
|
||||
|
||||
@@ -108,4 +108,4 @@ Name of the current [activity](https://developer.android.com/reference/android/a
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/activity/current-activity.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L421)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L429)
|
||||
|
||||
@@ -105,4 +105,4 @@ Name of the current [package](https://developer.android.com/reference/java/lang/
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/activity/current-package.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L424)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L432)
|
||||
|
||||
@@ -121,4 +121,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/activity/start-activity.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L517)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L525)
|
||||
|
||||
@@ -119,4 +119,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/app/activate-app.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L437)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L445)
|
||||
|
||||
@@ -119,4 +119,4 @@ Current the target app status. (Clients wrap the response properly) `0` is not i
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/app/app-state.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L472)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L480)
|
||||
|
||||
@@ -127,4 +127,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/app/background-app.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L548)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L556)
|
||||
|
||||
@@ -108,4 +108,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/app/close-app.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L542)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L550)
|
||||
|
||||
@@ -108,4 +108,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/app/end-test-coverage.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L551)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L559)
|
||||
|
||||
@@ -111,4 +111,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/app/get-app-strings.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L554)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L562)
|
||||
|
||||
@@ -115,4 +115,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/app/install-app.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L428)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L436)
|
||||
|
||||
@@ -115,4 +115,4 @@ Return true if installed, false if not (`boolean`)
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/app/is-app-installed.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L464)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L472)
|
||||
|
||||
@@ -114,4 +114,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/app/launch-app.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L539)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L547)
|
||||
|
||||
@@ -116,4 +116,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/app/remove-app.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L446)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L454)
|
||||
|
||||
@@ -108,4 +108,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/app/reset-app.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L545)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L553)
|
||||
|
||||
@@ -120,4 +120,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/app/terminate-app.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L455)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L463)
|
||||
|
||||
@@ -118,4 +118,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/authentication/finger-print.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L380)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L388)
|
||||
|
||||
@@ -107,4 +107,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/emulator/power_ac.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L407)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L415)
|
||||
|
||||
@@ -107,4 +107,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/emulator/power_capacity.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L404)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L412)
|
||||
|
||||
@@ -110,4 +110,4 @@ Contents of file in base64 (`string`)
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/files/pull-file.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L496)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L504)
|
||||
|
||||
@@ -110,4 +110,4 @@ A string of Base64 encoded data, representing a zip archive of the contents of t
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/files/pull-folder.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L499)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L507)
|
||||
|
||||
@@ -112,4 +112,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/files/push-file.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L493)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L501)
|
||||
|
||||
@@ -108,4 +108,4 @@ True if the device is locked, false if not (`boolean`)
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/interactions/is-locked.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L359)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L367)
|
||||
|
||||
@@ -112,4 +112,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/interactions/lock.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L353)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L361)
|
||||
|
||||
@@ -108,4 +108,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/interactions/rotate.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L416)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L424)
|
||||
|
||||
@@ -108,4 +108,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/interactions/shake.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L346)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L354)
|
||||
|
||||
@@ -112,4 +112,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/interactions/unlock.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L356)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L364)
|
||||
|
||||
@@ -116,4 +116,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/keys/hide-keyboard.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L487)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L495)
|
||||
|
||||
@@ -101,4 +101,4 @@ True if the keyboard is shown. (`boolean`)
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/keys/is-keyboard-shown.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L490)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L498)
|
||||
|
||||
@@ -116,4 +116,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/keys/long-press-keycode.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L377)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L385)
|
||||
|
||||
@@ -116,4 +116,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/keys/press-keycode.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L374)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L382)
|
||||
|
||||
@@ -111,4 +111,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/network/gsm-call.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L386)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L394)
|
||||
|
||||
@@ -110,4 +110,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/network/gsm-signal.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L389)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L397)
|
||||
|
||||
@@ -110,4 +110,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/network/gsm-voice.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L401)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L409)
|
||||
|
||||
@@ -106,4 +106,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/network/network-speed.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L410)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L418)
|
||||
|
||||
@@ -111,4 +111,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/network/send-sms.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L383)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L391)
|
||||
|
||||
@@ -106,4 +106,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/network/toggle-airplane-mode.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L502)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L510)
|
||||
|
||||
@@ -114,4 +114,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/network/toggle-data.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L505)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L513)
|
||||
|
||||
@@ -108,4 +108,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/network/toggle-location-services.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L511)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L519)
|
||||
|
||||
@@ -108,4 +108,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/network/toggle-wifi.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L508)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L516)
|
||||
|
||||
@@ -112,4 +112,4 @@ The information type of the system state which is supported to read as like cpu,
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/performance-data/get-performance-data.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L371)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L379)
|
||||
|
||||
@@ -108,4 +108,4 @@ The available performance data types (cpuinfo|batteryinfo|networkinfo|memoryinfo
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/performance-data/performance-data-types.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L368)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L376)
|
||||
|
||||
@@ -132,4 +132,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/recording-screen/start-recording-screen.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L362)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L370)
|
||||
|
||||
@@ -114,4 +114,4 @@ Base64 encoded string. If remote_path is set, the response is empty string. (`st
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/recording-screen/stop-recording-screen.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L365)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L373)
|
||||
|
||||
@@ -118,4 +118,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/simulator/toggle-touch-id-enrollment.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L536)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L544)
|
||||
|
||||
@@ -129,5 +129,5 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/simulator/touch-id.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L533)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L541)
|
||||
* [Appium Docs](https://github.com/appium/appium-xcuitest-driver/blob/master/docs/touch-id.md)
|
||||
|
||||
@@ -102,4 +102,4 @@ The device density(dpi) of the Android device (`number`)
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/system/display-density.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L530)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L538)
|
||||
|
||||
@@ -108,4 +108,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/system/open-notifications.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L514)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L522)
|
||||
|
||||
@@ -106,4 +106,4 @@ Information about visibility and bounds of status and navigation bar (`array<obj
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/system/system-bars.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L527)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L535)
|
||||
|
||||
@@ -111,4 +111,4 @@ Time on the device (`string`)
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/device/system/system-time.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L349)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L357)
|
||||
|
||||
@@ -107,4 +107,4 @@ The tag name of the element (`string`)
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/element/attributes/page-index.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L330)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L338)
|
||||
|
||||
@@ -119,4 +119,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/element/attributes/replace-value.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L568)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L576)
|
||||
|
||||
@@ -149,4 +149,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/interactions/touch/multi-touch-perform.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L340)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L348)
|
||||
|
||||
@@ -143,4 +143,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/interactions/touch/touch-perform.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L337)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L345)
|
||||
|
||||
@@ -104,4 +104,4 @@ a JSON hash of all the currently specified settings, see [Settings API](/docs/en
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/session/settings/get-settings.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L579)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L587)
|
||||
|
||||
@@ -106,4 +106,4 @@ null
|
||||
[//]: # (DO NOT EDIT THIS FILE! This is an auto-generated file. Editing for this document happens in /commands-yml/commands/session/settings/update-settings.yml)
|
||||
## See Also
|
||||
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L579)
|
||||
* [JSONWP Specification](https://github.com/appium/appium-base-driver/blob/master/lib/protocol/routes.js#L587)
|
||||
|
||||
@@ -30,10 +30,10 @@ await driver.refresh();
|
||||
```ruby
|
||||
# Ruby
|
||||
# ruby_lib example
|
||||
refresh
|
||||
navigate.refresh
|
||||
|
||||
# ruby_lib_core example
|
||||
@driver.refresh
|
||||
@driver.navigate.refresh
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -30,10 +30,10 @@ await driver.deleteAllCookies();
|
||||
```ruby
|
||||
# Ruby
|
||||
# ruby_lib example
|
||||
delete_all_cookies
|
||||
manage.delete_all_cookies
|
||||
|
||||
# ruby_lib_core example
|
||||
@driver.delete_all_cookies
|
||||
@driver.manage.delete_all_cookies
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -30,10 +30,10 @@ let cookies = await driver.allCookies();
|
||||
```ruby
|
||||
# Ruby
|
||||
# ruby_lib example
|
||||
all_cookies
|
||||
manage.all_cookies
|
||||
|
||||
# ruby_lib_core example
|
||||
@driver.all_cookies
|
||||
@driver.manage.all_cookies
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -33,10 +33,10 @@ let cookies = await driver.setCookie({name: 'foo', value: 'bar'});
|
||||
```ruby
|
||||
# Ruby
|
||||
# ruby_lib example
|
||||
add_cookie(:name => 'foo', :value => 'bar')
|
||||
manage.add_cookie(:name => 'foo', :value => 'bar')
|
||||
|
||||
# ruby_lib_core example
|
||||
@driver.add_cookie(:name => 'foo', :value => 'bar')
|
||||
@driver.manage.add_cookie(:name => 'foo', :value => 'bar')
|
||||
|
||||
```
|
||||
|
||||
|
||||
+6
-2
@@ -409,7 +409,8 @@ class AppiumDriver extends BaseDriver {
|
||||
delete this.sessions[innerSessionId];
|
||||
};
|
||||
|
||||
if (_.has(driver.onUnexpectedShutdown, 'then')) {
|
||||
// eslint-disable-next-line promise/prefer-await-to-then
|
||||
if (_.isFunction((driver.onUnexpectedShutdown || {}).then)) {
|
||||
// TODO: Remove this block after all the drivers use base driver above v 5.0.0
|
||||
// Remove the session on unexpected shutdown, so that we are in a position
|
||||
// to open another session later on.
|
||||
@@ -426,9 +427,12 @@ class AppiumDriver extends BaseDriver {
|
||||
removeSessionFromMasterList(e);
|
||||
}
|
||||
}); // this is a cancellable promise
|
||||
} else {
|
||||
} else if (_.isFunction(driver.onUnexpectedShutdown)) {
|
||||
// since base driver v 5.0.0
|
||||
driver.onUnexpectedShutdown(removeSessionFromMasterList);
|
||||
} else {
|
||||
log.warn(`Failed to attach the unexpected shutdown listener. ` +
|
||||
`Is 'onUnexpectedShutdown' method available for '${driver.constructor.name}'?`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Generated
+15073
File diff suppressed because it is too large
Load Diff
+6
-7
@@ -11,7 +11,7 @@
|
||||
"firefoxos",
|
||||
"testing"
|
||||
],
|
||||
"version": "1.16.0-beta.3",
|
||||
"version": "1.16.0",
|
||||
"author": "https://github.com/appium",
|
||||
"license": "Apache-2.0",
|
||||
"repository": {
|
||||
@@ -42,18 +42,18 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.6.0",
|
||||
"appium-android-driver": "^4.20.0",
|
||||
"appium-android-driver": "^4.21.0",
|
||||
"appium-base-driver": "^5.0.0",
|
||||
"appium-espresso-driver": "^1.0.0",
|
||||
"appium-espresso-driver": "^1.18.0",
|
||||
"appium-fake-driver": "^0.x",
|
||||
"appium-flutter-driver": "^0",
|
||||
"appium-ios-driver": "4.x",
|
||||
"appium-mac-driver": "1.x",
|
||||
"appium-support": "2.x",
|
||||
"appium-tizen-driver": "^1.1.1-beta.4",
|
||||
"appium-uiautomator2-driver": "^1.37.1",
|
||||
"appium-uiautomator2-driver": "^1.40.0",
|
||||
"appium-windows-driver": "1.x",
|
||||
"appium-xcuitest-driver": "^3.0.0",
|
||||
"appium-xcuitest-driver": "^3.8.0",
|
||||
"appium-youiengine-driver": "^1.2.0",
|
||||
"argparse": "^1.0.10",
|
||||
"async-lock": "^1.0.0",
|
||||
@@ -78,10 +78,9 @@
|
||||
"prepare": "gulp prepublish",
|
||||
"prepublishOnly": "npm run prune-shrinkwrap && gulp fixShrinkwrap",
|
||||
"postpublish": "npm run restore-shrinkwrap",
|
||||
"prune-shrinkwrap": "!(test -e npm-shrinkwrap.json) || (npm ci --production --ignore-scripts && npm run backup-shrinkwrap && npm shrinkwrap && npm install --only=dev --no-shrinkwrap) && npm run check-pruned-shrinkwrap",
|
||||
"prune-shrinkwrap": "!(test -e npm-shrinkwrap.json) || (npm ci --production --ignore-scripts && npm run backup-shrinkwrap && npm shrinkwrap && npm install --only=dev --no-shrinkwrap)",
|
||||
"restore-shrinkwrap": "!(test -e npm-shrinkwrap.json) || (mv npm-shrinkwrap-backup.json npm-shrinkwrap.json)",
|
||||
"backup-shrinkwrap": "mv npm-shrinkwrap.json npm-shrinkwrap-backup.json",
|
||||
"check-pruned-shrinkwrap": "node check-pruned-shrinkwrap.js",
|
||||
"test": "gulp once",
|
||||
"e2e-test": "gulp e2e-test",
|
||||
"watch": "gulp watch",
|
||||
|
||||
Reference in New Issue
Block a user