appium-uiautomator2-driver 2.9.1 → 2.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/npm-shrinkwrap.json +10 -10
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -152,7 +152,9 @@ appium:mjpegScreenshotUrl | The URL of a service that provides realtime device s
|
|
|
152
152
|
|
|
153
153
|
Capability Name | Description
|
|
154
154
|
--- | ---
|
|
155
|
-
appium:autoWebview | If set to `true` then UiAutomator2 driver will try to switch to the
|
|
155
|
+
appium:autoWebview | If set to `true` then UiAutomator2 driver will try to switch to the web view with name `WEBVIEW_ + appium:appPackage` after the session is started. For example, if `appium:appPackage` capability is set to `com.mypackage` then `WEBVIEW_com.mypackage` will be used. `false` by default.
|
|
156
|
+
appium:autoWebviewName | Set the name of webview context in which UiAutomator2 driver will try to switch if `autoWebview` capability is set to `true` (available since driver version 2.9.1). Has priority over using the `appium:appPackage` value in webview name. For example, if `appium:autoWebviewName` capability is set to `myWebviewName` then `WEBVIEW_myWebviewName` will be used. Unset by default.
|
|
157
|
+
appium:autoWebviewTimeout | Set the maximum number of milliseconds to wait until a web view is available if `autoWebview` capability is set to `true`. `2000` ms by default.
|
|
156
158
|
appium:webviewDevtoolsPort | The local port number to use for devtools communication. By default the first free port from 10900..11000 range is selected. Consider setting the custom value if you are running parallel tests.
|
|
157
159
|
appium:ensureWebviewsHavePages | Whether to skip web views that have no pages from being shown in `getContexts` output. The driver uses devtools connection to retrieve the information about existing pages. `true` by default since Appium 1.19.0, `false` if lower than 1.19.0.
|
|
158
160
|
appium:enableWebviewDetailsCollection | Whether to retrieve extended web views information using devtools protocol. Enabling this capability helps to detect the necessary chromedriver version more precisely. `true` by default since Appium 1.22.0, `false` if lower than 1.22.0.
|
|
@@ -164,7 +166,6 @@ appium:chromedriverExecutableDir | Full path to the folder where chromedriver ex
|
|
|
164
166
|
appium:chromedriverChromeMappingFile | Full path to the chromedrivers mapping file. This file is used to statically map webview/browser versions to the chromedriver versions that are capable of automating them. Read [Automatic Chromedriver Discovery article](#automatic-discovery-of-compatible-chromedriver) for more details.
|
|
165
167
|
appium:chromedriverUseSystemExecutable | Set it to `true` in order to enforce the usage of chromedriver, which gets downloaded by Appium automatically upon installation. This driver might not be compatible with the destination browser or a web view. `false` by default.
|
|
166
168
|
appium:chromedriverDisableBuildCheck | Being set to `true` disables the compatibility validation between the current chromedriver and the destination browser/web view. Use it with care.
|
|
167
|
-
appium:autoWebviewTimeout | Set the maximum number of milliseconds to wait until a web view is available if `autoWebview` capability is set to `true`. `2000` ms by default
|
|
168
169
|
appium:recreateChromeDriverSessions | If this capability is set to `true` then chromedriver session is always going to be killed and then recreated instead of just suspending it on context switching. `false` by default
|
|
169
170
|
appium:nativeWebScreenshot | Whether to use screenshoting endpoint provided by UiAutomator framework (`true`) rather than the one provided by chromedriver (`false`, the default value). Use it when you experience issues with the latter.
|
|
170
171
|
appium:extractChromeAndroidPackageFromContextName | If set to `true`, tell chromedriver to attach to the android package we have associated with the context name, rather than the package of the application under test. `false` by default.
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-uiautomator2-driver",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.1",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "appium-uiautomator2-driver",
|
|
9
|
-
"version": "2.
|
|
9
|
+
"version": "2.10.1",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@babel/runtime": "^7.0.0",
|
|
13
13
|
"appium-adb": "^9.10.14",
|
|
14
|
-
"appium-android-driver": "^5.
|
|
14
|
+
"appium-android-driver": "^5.7.0",
|
|
15
15
|
"appium-chromedriver": "^5.2.1",
|
|
16
|
-
"appium-uiautomator2-server": "^5.7.
|
|
16
|
+
"appium-uiautomator2-server": "^5.7.2",
|
|
17
17
|
"asyncbox": "^2.3.1",
|
|
18
18
|
"axios": "^1.x",
|
|
19
19
|
"bluebird": "^3.5.1",
|
|
@@ -961,7 +961,7 @@
|
|
|
961
961
|
}
|
|
962
962
|
},
|
|
963
963
|
"node_modules/@types/node": {
|
|
964
|
-
"version": "18.11.
|
|
964
|
+
"version": "18.11.8",
|
|
965
965
|
"license": "MIT"
|
|
966
966
|
},
|
|
967
967
|
"node_modules/@types/normalize-package-data": {
|
|
@@ -1077,7 +1077,7 @@
|
|
|
1077
1077
|
}
|
|
1078
1078
|
},
|
|
1079
1079
|
"node_modules/@xmldom/xmldom": {
|
|
1080
|
-
"version": "0.8.
|
|
1080
|
+
"version": "0.8.4",
|
|
1081
1081
|
"license": "MIT",
|
|
1082
1082
|
"engines": {
|
|
1083
1083
|
"node": ">=10.0.0"
|
|
@@ -1248,7 +1248,7 @@
|
|
|
1248
1248
|
}
|
|
1249
1249
|
},
|
|
1250
1250
|
"node_modules/appium-uiautomator2-server": {
|
|
1251
|
-
"version": "5.7.
|
|
1251
|
+
"version": "5.7.2",
|
|
1252
1252
|
"license": "Apache-2.0",
|
|
1253
1253
|
"engines": {
|
|
1254
1254
|
"node": ">=14",
|
|
@@ -5809,7 +5809,7 @@
|
|
|
5809
5809
|
}
|
|
5810
5810
|
},
|
|
5811
5811
|
"@types/node": {
|
|
5812
|
-
"version": "18.11.
|
|
5812
|
+
"version": "18.11.8"
|
|
5813
5813
|
},
|
|
5814
5814
|
"@types/normalize-package-data": {
|
|
5815
5815
|
"version": "2.4.1"
|
|
@@ -5895,7 +5895,7 @@
|
|
|
5895
5895
|
}
|
|
5896
5896
|
},
|
|
5897
5897
|
"@xmldom/xmldom": {
|
|
5898
|
-
"version": "0.8.
|
|
5898
|
+
"version": "0.8.4"
|
|
5899
5899
|
},
|
|
5900
5900
|
"accepts": {
|
|
5901
5901
|
"version": "1.3.8",
|
|
@@ -6010,7 +6010,7 @@
|
|
|
6010
6010
|
}
|
|
6011
6011
|
},
|
|
6012
6012
|
"appium-uiautomator2-server": {
|
|
6013
|
-
"version": "5.7.
|
|
6013
|
+
"version": "5.7.2"
|
|
6014
6014
|
},
|
|
6015
6015
|
"aproba": {
|
|
6016
6016
|
"version": "2.0.0"
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"automated testing",
|
|
8
8
|
"android"
|
|
9
9
|
],
|
|
10
|
-
"version": "2.
|
|
10
|
+
"version": "2.10.1",
|
|
11
11
|
"author": "Appium Contributors",
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"repository": {
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@babel/runtime": "^7.0.0",
|
|
58
58
|
"appium-adb": "^9.10.14",
|
|
59
|
-
"appium-android-driver": "^5.
|
|
59
|
+
"appium-android-driver": "^5.7.0",
|
|
60
60
|
"appium-chromedriver": "^5.2.1",
|
|
61
|
-
"appium-uiautomator2-server": "^5.7.
|
|
61
|
+
"appium-uiautomator2-server": "^5.7.2",
|
|
62
62
|
"asyncbox": "^2.3.1",
|
|
63
63
|
"axios": "^1.x",
|
|
64
64
|
"bluebird": "^3.5.1",
|