appium-uiautomator2-driver 6.6.3 → 6.7.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/CHANGELOG.md +12 -0
- package/README.md +4 -3
- package/build/index.d.ts.map +1 -1
- package/build/index.js +0 -2
- package/build/index.js.map +1 -1
- package/build/lib/doctor/required-checks.d.ts +2 -0
- package/build/lib/doctor/required-checks.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/index.js +0 -4
- package/npm-shrinkwrap.json +115 -72
- package/package.json +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [6.7.1](https://github.com/appium/appium-uiautomator2-driver/compare/v6.7.0...v6.7.1) (2025-12-12)
|
|
2
|
+
|
|
3
|
+
### Miscellaneous Chores
|
|
4
|
+
|
|
5
|
+
* **deps:** remove `source-map-support` ([#962](https://github.com/appium/appium-uiautomator2-driver/issues/962)) ([2bd655d](https://github.com/appium/appium-uiautomator2-driver/commit/2bd655d577a41885f3b910d6405d6826c16b7b67))
|
|
6
|
+
|
|
7
|
+
## [6.7.0](https://github.com/appium/appium-uiautomator2-driver/compare/v6.6.3...v6.7.0) (2025-12-09)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add appium:adbListenAllNetwork with uiautomator2:adb_listen_all_network flag to add -a option for adb ([#955](https://github.com/appium/appium-uiautomator2-driver/issues/955)) ([5b0fa8b](https://github.com/appium/appium-uiautomator2-driver/commit/5b0fa8b61b41b9273f272c9a426b048463b51ddc))
|
|
12
|
+
|
|
1
13
|
## [6.6.3](https://github.com/appium/appium-uiautomator2-driver/compare/v6.6.2...v6.6.3) (2025-12-08)
|
|
2
14
|
|
|
3
15
|
### Miscellaneous Chores
|
package/README.md
CHANGED
|
@@ -88,7 +88,7 @@ appium:otherApps | Allows to set one or more comma-separated paths to Android pa
|
|
|
88
88
|
appium:uninstallOtherPackages | Allows to set one or more comma-separated package identifiers to be uninstalled from the device before a test starts
|
|
89
89
|
appium:allowTestPackages | If set to `true` then it would be possible to use packages built with the test flag for the automated testing (literally adds `-t` flag to the `adb install` command). `false` by default
|
|
90
90
|
appium:remoteAppsCacheLimit | Sets the maximum amount of application packages to be cached on the device under test. This is needed for devices that don't support streamed installs (Android 7 and below), because ADB must push app packages to the device first in order to install them, which takes some time. Setting this capability to zero disables apps caching. `10` by default.
|
|
91
|
-
appium:enforceAppInstall | If set to `true` then the application under test is always reinstalled even if a newer version of it already exists on the device under test. This capability has no effect if `appium:noReset` is set to `true`. `false` by default
|
|
91
|
+
appium:enforceAppInstall | If set to `true` then the application under test is always reinstalled even if a newer version of it already exists on the device under test. This capability has no effect if `appium:noReset` is set to `true`. `false` by default.
|
|
92
92
|
|
|
93
93
|
### App Localization
|
|
94
94
|
|
|
@@ -115,6 +115,7 @@ appium:mockLocationApp | Sets the package identifier of the app, which is used a
|
|
|
115
115
|
appium:logcatFormat | The log print format, where `format` is one of: `brief` `process` `tag` `thread` `raw` `time` `threadtime` `long`. `threadtime` is the default value.
|
|
116
116
|
appium:logcatFilterSpecs | Series of `tag[:priority]` where `tag` is a log component tag (or * for all) and priority is: `V Verbose`, `D Debug`, `I Info`, `W Warn`, `E Error`, `F Fatal`, `S Silent (supress all output)`. '*' means '*:d' and `tag` by itself means `tag:v`. If not specified on the commandline, filterspec is set from ANDROID_LOG_TAGS. If no filterspec is found, filter defaults to '*:I'.
|
|
117
117
|
appium:allowDelayAdb | Being set to `false` prevents emulator to use `-delay-adb` feature to detect its startup. See https://github.com/appium/appium/issues/14773 for more details.
|
|
118
|
+
appium:adbListenAllNetwork | Being set to `true` adds `-a` ADB command line global option. Requires `uiautomator2:adb_listen_all_network` [security feature](https://github.com/appium/appium/blob/master/packages/appium/docs/en/guides/security.md) to be enabled. Unset by default. Available since driver version 6.7.0.
|
|
118
119
|
|
|
119
120
|
### Emulator (Android Virtual Device)
|
|
120
121
|
|
|
@@ -387,7 +388,7 @@ object result = driver.ExecuteScript("mobile: <methodName>", new Dictionary<stri
|
|
|
387
388
|
|
|
388
389
|
### mobile: shell
|
|
389
390
|
|
|
390
|
-
Executes the given shell command on the device under test via ADB connection. This extension exposes a potential security risk and thus is only enabled when explicitly activated by the `adb_shell` server command line feature specifier.
|
|
391
|
+
Executes the given shell command on the device under test via ADB connection. This extension exposes a potential security risk and thus is only enabled when explicitly activated by the `uiautomator2:adb_shell` server command line feature specifier.
|
|
391
392
|
|
|
392
393
|
#### Arguments
|
|
393
394
|
|
|
@@ -1958,7 +1959,7 @@ in it. The contents of the file needs to be parsable as a JSON object, like:
|
|
|
1958
1959
|
}
|
|
1959
1960
|
```
|
|
1960
1961
|
|
|
1961
|
-
There is a possibility to automatically download the necessary chromedriver(s) into `appium:chromedriverExecutableDir` from the official Google storage. The script will automatically search for the newest chromedriver version that supports the given browser/web view, download it (the hash sum is verified as well for the downloaded archive) and add to the `appium:chromedriverChromeMappingFile` mapping. Everything, which is needed to be done from your side is to execute the server with `chromedriver_autodownload` feature enabled (like `appium server --allow-insecure chromedriver_autodownload`).
|
|
1962
|
+
There is a possibility to automatically download the necessary chromedriver(s) into `appium:chromedriverExecutableDir` from the official Google storage. The script will automatically search for the newest chromedriver version that supports the given browser/web view, download it (the hash sum is verified as well for the downloaded archive) and add to the `appium:chromedriverChromeMappingFile` mapping. Everything, which is needed to be done from your side is to execute the server with `uiautomator2:chromedriver_autodownload` feature enabled (like `appium server --allow-insecure uiautomator2:chromedriver_autodownload`).
|
|
1962
1963
|
|
|
1963
1964
|
### Troubleshooting Chromedriver Download Issues
|
|
1964
1965
|
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.js"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.js"],"names":[],"mappings":";;0CAAwC,cAAc"}
|
package/build/index.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AndroidUiautomator2Driver = void 0;
|
|
4
|
-
const source_map_support_1 = require("source-map-support");
|
|
5
|
-
(0, source_map_support_1.install)();
|
|
6
4
|
const driver_1 = require("./lib/driver");
|
|
7
5
|
Object.defineProperty(exports, "AndroidUiautomator2Driver", { enumerable: true, get: function () { return driver_1.AndroidUiautomator2Driver; } });
|
|
8
6
|
exports.default = driver_1.AndroidUiautomator2Driver;
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.js"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.js"],"names":[],"mappings":";;;AAAA,yCAAuD;AAE/C,0GAFA,kCAAyB,OAEA;AACjC,kBAAe,kCAAyB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export const androidHomeCheck: {
|
|
2
|
+
log: import("@appium/types").AppiumLogger;
|
|
2
3
|
varName: string;
|
|
3
4
|
opts: doctor.EnvVarCheckOptions;
|
|
4
5
|
diagnose(): Promise<import("@appium/types").DoctorCheckResult>;
|
|
@@ -7,6 +8,7 @@ export const androidHomeCheck: {
|
|
|
7
8
|
isOptional(): boolean;
|
|
8
9
|
};
|
|
9
10
|
export const javaHomeCheck: {
|
|
11
|
+
log: import("@appium/types").AppiumLogger;
|
|
10
12
|
varName: string;
|
|
11
13
|
opts: doctor.EnvVarCheckOptions;
|
|
12
14
|
diagnose(): Promise<import("@appium/types").DoctorCheckResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"required-checks.d.ts","sourceRoot":"","sources":["../../../lib/doctor/required-checks.js"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"required-checks.d.ts","sourceRoot":"","sources":["../../../lib/doctor/required-checks.js"],"names":[],"mappings":"AAEA;;;;;;;;EAAwD;AACxD;;;;;;;;EAAkD;AAClD,2DAA4D;AAC5D,qDAAsD;uBAL/B,uBAAuB"}
|