appium-uiautomator2-driver 2.1.3 → 2.2.0
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 -1
- package/npm-shrinkwrap.json +11 -11
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -798,7 +798,9 @@ UiAutomator2 driver supports Appium endpoints for applications management:
|
|
|
798
798
|
- Check if app is installed (`POST /appium/device/app_installed`)
|
|
799
799
|
- Install/upgrade app (`POST /appium/device/install_app`)
|
|
800
800
|
- Active app (`POST /appium/device/activate_app`)
|
|
801
|
-
-
|
|
801
|
+
- Since UIAutomator2 driver v2.2.0, the backend calls `am start`/`am start-activity` to start the application for over API Level 24 devices. It calls [monkey](https://developer.android.com/studio/test/other-testing-tools/monkey) command for devices that are lower than API Level 24.
|
|
802
|
+
- UIAutomator2 driver v2.1.2 and lower versions call the `monkey` command for all devices.
|
|
803
|
+
- The monkey command [turns on auto rotation](https://stackoverflow.com/questions/56684778/adb-shell-monkey-command-changing-device-orientation-lock), so please consider to use [mobile: startActivity](#mobile-startactivity) if you would like to keep the rotation preference.
|
|
802
804
|
- Uninstall app (`POST /appium/device/remove_app`)
|
|
803
805
|
- Terminate app (`POST /appium/device/terminate_app`)
|
|
804
806
|
- Start app activity (`POST /appium/device/start_activity`)
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-uiautomator2-driver",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
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.2.0",
|
|
10
10
|
"engines": [
|
|
11
11
|
"node"
|
|
12
12
|
],
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@appium/support": "^2.55.3",
|
|
17
17
|
"@babel/runtime": "^7.0.0",
|
|
18
18
|
"appium-adb": "^9.0.0",
|
|
19
|
-
"appium-android-driver": "^5.0.
|
|
19
|
+
"appium-android-driver": "^5.0.15",
|
|
20
20
|
"appium-chromedriver": "^5.0.2",
|
|
21
21
|
"appium-uiautomator2-server": "^5.6.0",
|
|
22
22
|
"asyncbox": "^2.3.1",
|
|
@@ -3803,9 +3803,9 @@
|
|
|
3803
3803
|
}
|
|
3804
3804
|
},
|
|
3805
3805
|
"node_modules/appium-android-driver": {
|
|
3806
|
-
"version": "5.0.
|
|
3807
|
-
"resolved": "https://registry.npmjs.org/appium-android-driver/-/appium-android-driver-5.0.
|
|
3808
|
-
"integrity": "sha512-
|
|
3806
|
+
"version": "5.0.15",
|
|
3807
|
+
"resolved": "https://registry.npmjs.org/appium-android-driver/-/appium-android-driver-5.0.15.tgz",
|
|
3808
|
+
"integrity": "sha512-KUZBoXTFwBl9vyhDcHm/IDDboGZSN+V3RKtrCK9w2FoEg8R0A31mbuyS0aq81hJzEGatQIJhDrKOjpLwtqLc1w==",
|
|
3809
3809
|
"engines": [
|
|
3810
3810
|
"node"
|
|
3811
3811
|
],
|
|
@@ -3813,7 +3813,7 @@
|
|
|
3813
3813
|
"@appium/base-driver": "^8.5.2",
|
|
3814
3814
|
"@appium/support": "^2.58.0",
|
|
3815
3815
|
"@babel/runtime": "^7.0.0",
|
|
3816
|
-
"appium-adb": "^9.
|
|
3816
|
+
"appium-adb": "^9.6.0",
|
|
3817
3817
|
"appium-chromedriver": "^5.0.1",
|
|
3818
3818
|
"asyncbox": "^2.8.0",
|
|
3819
3819
|
"axios": "^0.x",
|
|
@@ -24577,14 +24577,14 @@
|
|
|
24577
24577
|
}
|
|
24578
24578
|
},
|
|
24579
24579
|
"appium-android-driver": {
|
|
24580
|
-
"version": "5.0.
|
|
24581
|
-
"resolved": "https://registry.npmjs.org/appium-android-driver/-/appium-android-driver-5.0.
|
|
24582
|
-
"integrity": "sha512-
|
|
24580
|
+
"version": "5.0.15",
|
|
24581
|
+
"resolved": "https://registry.npmjs.org/appium-android-driver/-/appium-android-driver-5.0.15.tgz",
|
|
24582
|
+
"integrity": "sha512-KUZBoXTFwBl9vyhDcHm/IDDboGZSN+V3RKtrCK9w2FoEg8R0A31mbuyS0aq81hJzEGatQIJhDrKOjpLwtqLc1w==",
|
|
24583
24583
|
"requires": {
|
|
24584
24584
|
"@appium/base-driver": "^8.5.2",
|
|
24585
24585
|
"@appium/support": "^2.58.0",
|
|
24586
24586
|
"@babel/runtime": "^7.0.0",
|
|
24587
|
-
"appium-adb": "^9.
|
|
24587
|
+
"appium-adb": "^9.6.0",
|
|
24588
24588
|
"appium-chromedriver": "^5.0.1",
|
|
24589
24589
|
"asyncbox": "^2.8.0",
|
|
24590
24590
|
"axios": "^0.x",
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"automated testing",
|
|
8
8
|
"android"
|
|
9
9
|
],
|
|
10
|
-
"version": "2.
|
|
10
|
+
"version": "2.2.0",
|
|
11
11
|
"author": "appium",
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"repository": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@appium/support": "^2.55.3",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"appium-adb": "^9.0.0",
|
|
47
|
-
"appium-android-driver": "^5.0.
|
|
47
|
+
"appium-android-driver": "^5.0.15",
|
|
48
48
|
"appium-chromedriver": "^5.0.2",
|
|
49
49
|
"appium-uiautomator2-server": "^5.6.0",
|
|
50
50
|
"asyncbox": "^2.3.1",
|