appium-uiautomator2-driver 8.0.1 → 8.1.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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [8.1.0](https://github.com/appium/appium-uiautomator2-driver/compare/v8.0.1...v8.1.0) (2026-07-04)
2
+
3
+ ### Features
4
+
5
+ * bump android driver to support chromedriverGrantPermissions ([5eb3016](https://github.com/appium/appium-uiautomator2-driver/commit/5eb30163b9555f73745ded908b28e3b28fc119bb))
6
+
1
7
  ## [8.0.1](https://github.com/appium/appium-uiautomator2-driver/compare/v8.0.0...v8.0.1) (2026-07-01)
2
8
 
3
9
  ### Miscellaneous Chores
package/README.md CHANGED
@@ -181,6 +181,7 @@ appium:chromedriverExecutableDir | Full path to the folder where chromedriver ex
181
181
  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.
182
182
  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.
183
183
  appium:chromedriverDisableBuildCheck | Being set to `true` disables the compatibility validation between the current chromedriver and the destination browser/web view. Use it with care.
184
+ appium:chromedriverGrantPermissions | Being set to `true` grants all the runtime permissions to the Chrome/web view package resolved for the chromedriver session before Chrome is launched, so the automated session is not interrupted by a native runtime permission dialog (for example geolocation, camera or file access). An error is thrown if the capability is enabled but the target package name cannot be resolved. `false` by default.
184
185
  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
185
186
  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.
186
187
  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.
@@ -107,6 +107,9 @@ declare const UIAUTOMATOR2_CONSTRAINTS: {
107
107
  readonly chromedriverDisableBuildCheck: {
108
108
  readonly isBoolean: true;
109
109
  };
110
+ readonly chromedriverGrantPermissions: {
111
+ readonly isBoolean: true;
112
+ };
110
113
  readonly chromeLoggingPrefs: {
111
114
  readonly isObject: true;
112
115
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constraints.d.ts","sourceRoot":"","sources":["../../lib/constraints.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCE,CAAC;AAEjC,eAAe,wBAAwB,CAAC;AAExC,MAAM,MAAM,uBAAuB,GAAG,OAAO,wBAAwB,CAAC"}
1
+ {"version":3,"file":"constraints.d.ts","sourceRoot":"","sources":["../../lib/constraints.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCE,CAAC;AAEjC,eAAe,wBAAwB,CAAC;AAExC,MAAM,MAAM,uBAAuB,GAAG,OAAO,wBAAwB,CAAC"}
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "appium-uiautomator2-driver",
3
- "version": "8.0.1",
3
+ "version": "8.1.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "appium-uiautomator2-driver",
9
- "version": "8.0.1",
9
+ "version": "8.1.0",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@appium/css-locator-to-native": "^1.0.1",
13
13
  "appium-adb": "^15.0.0",
14
- "appium-android-driver": "^13.2.3",
14
+ "appium-android-driver": "^13.3.0",
15
15
  "appium-uiautomator2-server": "^10.2.1",
16
16
  "asyncbox": "^6.0.1",
17
17
  "axios": "^1.16.0",
@@ -112,9 +112,9 @@
112
112
  }
113
113
  },
114
114
  "node_modules/@appium/css-locator-to-native": {
115
- "version": "1.0.1",
116
- "resolved": "https://registry.npmjs.org/@appium/css-locator-to-native/-/css-locator-to-native-1.0.1.tgz",
117
- "integrity": "sha512-FIKjakA2E1WB6xneBlXYgUcsDqO/dwD4zXJxGE5DwkOUwvGXZ8HdLEvvQruoPRD4C2mYmn+/r89BZcXU5QMZPw==",
115
+ "version": "1.0.3",
116
+ "resolved": "https://registry.npmjs.org/@appium/css-locator-to-native/-/css-locator-to-native-1.0.3.tgz",
117
+ "integrity": "sha512-/g+hkuev9Sw+7BJvRK4GgpXuO1EzZUggbK1Bxm61R21Q8sgpJSK/AsvN9jl2Q4AXfE3xzDfgS5rI/yVlEC4EDg==",
118
118
  "license": "Apache-2.0",
119
119
  "dependencies": {
120
120
  "css-selector-parser": "^3.3.0"
@@ -465,9 +465,9 @@
465
465
  }
466
466
  },
467
467
  "node_modules/appium-adb": {
468
- "version": "15.0.6",
469
- "resolved": "https://registry.npmjs.org/appium-adb/-/appium-adb-15.0.6.tgz",
470
- "integrity": "sha512-BNHG7at55Tyivd/IIXg5jIljmubAz4n3SrWxQqD5Xer7VIO56hM27FkB0uT56iWofqUR8KWAcKaK6grslCGlzA==",
468
+ "version": "15.0.7",
469
+ "resolved": "https://registry.npmjs.org/appium-adb/-/appium-adb-15.0.7.tgz",
470
+ "integrity": "sha512-ViBTutW5XF2uTaIKKHfTS4v5z/QyX11zSpRQCDGCUal8tTAmU0yLXP8/32AfFlGfQCTtu0bSS/BQM+l71+nIdg==",
471
471
  "license": "Apache-2.0",
472
472
  "dependencies": {
473
473
  "@appium/support": "^7.2.2",
@@ -484,9 +484,9 @@
484
484
  }
485
485
  },
486
486
  "node_modules/appium-android-driver": {
487
- "version": "13.2.9",
488
- "resolved": "https://registry.npmjs.org/appium-android-driver/-/appium-android-driver-13.2.9.tgz",
489
- "integrity": "sha512-s61RR6/96sUUrgjcJhrGsZKpY2ma6lgaxpblTefdQFRn4GDzepsPCcGCFemRk8YaMiVb5Y2BtYsmOHkb56ifzQ==",
487
+ "version": "13.3.0",
488
+ "resolved": "https://registry.npmjs.org/appium-android-driver/-/appium-android-driver-13.3.0.tgz",
489
+ "integrity": "sha512-KQNohc759Tumn0uVbTUqujkZZr6fDGDjztjnc5MVWz5796nWgl6limrAchx8JLgj3m4w5piAXUjMvtKRfsa1PQ==",
490
490
  "license": "Apache-2.0",
491
491
  "dependencies": {
492
492
  "@appium/support": "^7.2.2",
@@ -536,9 +536,9 @@
536
536
  }
537
537
  },
538
538
  "node_modules/appium-uiautomator2-server": {
539
- "version": "10.2.4",
540
- "resolved": "https://registry.npmjs.org/appium-uiautomator2-server/-/appium-uiautomator2-server-10.2.4.tgz",
541
- "integrity": "sha512-Y3DjrIR68lWhCiNmJy2q940hsBXHaNfrbIib0/W2tFwpoRlDnhCQ/i3wp60v5eS8m6I4+1NCAVHYYIAYSRic4A==",
539
+ "version": "10.3.2",
540
+ "resolved": "https://registry.npmjs.org/appium-uiautomator2-server/-/appium-uiautomator2-server-10.3.2.tgz",
541
+ "integrity": "sha512-We6bbBY5HoIJJ7VaQFAj95W3tdhSbOQ2fVgYSfYu7C8UN8RsXDbxxqvFZim7gd+OmUKHumN92Zk+o54k63CL8w==",
542
542
  "license": "Apache-2.0",
543
543
  "engines": {
544
544
  "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
@@ -585,9 +585,9 @@
585
585
  "license": "MIT"
586
586
  },
587
587
  "node_modules/asyncbox": {
588
- "version": "6.3.1",
589
- "resolved": "https://registry.npmjs.org/asyncbox/-/asyncbox-6.3.1.tgz",
590
- "integrity": "sha512-48aDXFweBUWkAjmE6fCobYZY+rq93OYerERLIaVYVDGZSRNFYYaI+sZEJyqUwzxDSlzOHF6ckUEqis/JmHkrMA==",
588
+ "version": "6.3.4",
589
+ "resolved": "https://registry.npmjs.org/asyncbox/-/asyncbox-6.3.4.tgz",
590
+ "integrity": "sha512-WjCWd8lgZG/HowtEFrnQpEHn/qLRXZTyqIlhHbLeqUyoo/VbcXQPUZM7+dXcd14ws6SF9EhnokZ/5HJ8Wm+eww==",
591
591
  "license": "Apache-2.0",
592
592
  "dependencies": {
593
593
  "p-limit": "^7.2.0"
@@ -653,9 +653,9 @@
653
653
  }
654
654
  },
655
655
  "node_modules/bare-fs": {
656
- "version": "4.7.2",
657
- "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.7.2.tgz",
658
- "integrity": "sha512-aTvMFUWkBmjzKtEQMDGGDNF8bkfpD5N1b/FCwt7A3wrU4t1o/e/85Wzkluh6JlODCjqVESYCkQCdTXqZ9G7VFg==",
656
+ "version": "4.7.3",
657
+ "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.7.3.tgz",
658
+ "integrity": "sha512-xRgplks8SvcKkdlv2M6Z2LZmRsmqd+x0nXXGXeMEjwdibj1HSDrlnqBRLeYdMvsgCox7Bq0e+DHwfczOfsn6IA==",
659
659
  "license": "Apache-2.0",
660
660
  "dependencies": {
661
661
  "bare-events": "^2.5.4",
@@ -1731,9 +1731,9 @@
1731
1731
  }
1732
1732
  },
1733
1733
  "node_modules/iconv-lite": {
1734
- "version": "0.7.2",
1735
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.2.tgz",
1736
- "integrity": "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==",
1734
+ "version": "0.7.3",
1735
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.3.tgz",
1736
+ "integrity": "sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==",
1737
1737
  "license": "MIT",
1738
1738
  "dependencies": {
1739
1739
  "safer-buffer": ">= 2.1.2 < 3.0.0"
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "automated testing",
8
8
  "android"
9
9
  ],
10
- "version": "8.0.1",
10
+ "version": "8.1.0",
11
11
  "bugs": {
12
12
  "url": "https://github.com/appium/appium-uiautomator2-driver/issues"
13
13
  },
@@ -60,7 +60,7 @@
60
60
  "dependencies": {
61
61
  "@appium/css-locator-to-native": "^1.0.1",
62
62
  "appium-adb": "^15.0.0",
63
- "appium-android-driver": "^13.2.3",
63
+ "appium-android-driver": "^13.3.0",
64
64
  "appium-uiautomator2-server": "^10.2.1",
65
65
  "asyncbox": "^6.0.1",
66
66
  "axios": "^1.16.0",