appium-android-driver 15.1.5 → 15.1.7
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
|
@@ -3,6 +3,21 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [15.1.7](https://github.com/appium/appium-android/compare/appium-android-driver@15.1.6...appium-android-driver@15.1.7) (2026-11-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package appium-android-driver
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [15.1.6](https://github.com/appium/appium-android/compare/appium-android-driver@15.1.5...appium-android-driver@15.1.6) (2026-11-06)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **driver-lib:** report an empty selector as an invalid selector ([#86](https://github.com/appium/appium-android/issues/86)) ([8daa770](https://github.com/appium/appium-android/commit/8daa770bb7f87b294567e3a689f55278a08e59f6))
|
|
19
|
+
|
|
20
|
+
|
|
6
21
|
## [15.1.5](https://github.com/appium/appium-android/compare/appium-android-driver@15.1.4...appium-android-driver@15.1.5) (2026-11-06)
|
|
7
22
|
|
|
8
23
|
### Bug Fixes
|
|
@@ -16,7 +16,7 @@ declare module '../driver.js' {
|
|
|
16
16
|
* @param context The context (e.g., webview) in which to search. Defaults to empty string (native context).
|
|
17
17
|
* @returns If `mult` is `false`, returns a single `Element` object.
|
|
18
18
|
* If `mult` is `true`, returns an array of `Element` objects (may be empty).
|
|
19
|
-
* @throws {
|
|
19
|
+
* @throws {errors.InvalidSelectorError} If `selector` is not provided.
|
|
20
20
|
* @throws {errors.NoSuchElementError} If a single element search fails and no element is found.
|
|
21
21
|
*/
|
|
22
22
|
export declare function findElOrEls(this: AndroidDriver, strategy: string, selector: string, mult: true, context?: string): Promise<Element[]>;
|
|
@@ -2,7 +2,7 @@ import { util } from '@appium/support';
|
|
|
2
2
|
import { errors, isErrorType } from 'appium/driver.js';
|
|
3
3
|
export async function findElOrEls(strategy, selector, mult, context = '') {
|
|
4
4
|
if (!selector) {
|
|
5
|
-
throw new
|
|
5
|
+
throw new errors.InvalidSelectorError('Must provide a selector when finding elements');
|
|
6
6
|
}
|
|
7
7
|
const params = {
|
|
8
8
|
strategy,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.js","sourceRoot":"","sources":["../../../lib/commands/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAC,MAAM,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAsCrD,MAAM,CAAC,KAAK,UAAU,WAAW,CAE/B,QAAgB,EAChB,QAAgB,EAChB,IAAa,EACb,OAAO,GAAG,EAAE;IAEZ,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"find.js","sourceRoot":"","sources":["../../../lib/commands/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAErC,OAAO,EAAC,MAAM,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAsCrD,MAAM,CAAC,KAAK,UAAU,WAAW,CAE/B,QAAgB,EAChB,QAAgB,EAChB,IAAa,EACb,OAAO,GAAG,EAAE;IAEZ,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,MAAM,IAAI,MAAM,CAAC,oBAAoB,CAAC,+CAA+C,CAAC,CAAC;IACzF,CAAC;IAED,MAAM,MAAM,GAAoB;QAC9B,QAAQ;QACR,QAAQ;QACR,OAAO;QACP,QAAQ,EAAE,IAAI;KACf,CAAC;IAEF,IAAI,OAAwC,CAAC;IAC7C,MAAM,MAAM,GAAG,KAAK,IAAI,EAAE;QACxB,IAAI,CAAC;YACH,O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B;IACnF,KAAK,MAAM,CAAC;IACZ,MAAM,IAAI,MAAM,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,CAAC;AAC1D,CAAC"}
|
package/lib/commands/find.ts
CHANGED
|
@@ -21,7 +21,7 @@ declare module '../driver.js' {
|
|
|
21
21
|
* @param context The context (e.g., webview) in which to search. Defaults to empty string (native context).
|
|
22
22
|
* @returns If `mult` is `false`, returns a single `Element` object.
|
|
23
23
|
* If `mult` is `true`, returns an array of `Element` objects (may be empty).
|
|
24
|
-
* @throws {
|
|
24
|
+
* @throws {errors.InvalidSelectorError} If `selector` is not provided.
|
|
25
25
|
* @throws {errors.NoSuchElementError} If a single element search fails and no element is found.
|
|
26
26
|
*/
|
|
27
27
|
export async function findElOrEls(
|
|
@@ -46,7 +46,7 @@ export async function findElOrEls(
|
|
|
46
46
|
context = '',
|
|
47
47
|
) {
|
|
48
48
|
if (!selector) {
|
|
49
|
-
throw new
|
|
49
|
+
throw new errors.InvalidSelectorError('Must provide a selector when finding elements');
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
const params: FindElementOpts = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-android-driver",
|
|
3
|
-
"version": "15.1.
|
|
3
|
+
"version": "15.1.7",
|
|
4
4
|
"description": "Android UiAutomator and Chrome support for Appium",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"android",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@appium/support": "^8.0.0-beta.3",
|
|
53
|
-
"appium-adb": "^16.
|
|
53
|
+
"appium-adb": "^16.4.0",
|
|
54
54
|
"appium-chromedriver": "^9.2.2",
|
|
55
55
|
"asyncbox": "^6.4.3",
|
|
56
56
|
"axios": "^1.18.0",
|
|
57
57
|
"dayjs": "^1.11.21",
|
|
58
|
-
"io.appium.settings": "^8.5.
|
|
58
|
+
"io.appium.settings": "^8.5.4",
|
|
59
59
|
"lru-cache": "^11.1.0",
|
|
60
60
|
"portscanner": "^2.2.0",
|
|
61
61
|
"semver": "^7.0.0",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"node": "^22.22.2 || ^24.15.0 || >=26.0.0",
|
|
80
80
|
"npm": ">=10"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "85a6f369e2098c86e9aef15114682589385dc38f"
|
|
83
83
|
}
|