appium-uiautomator2-driver 6.6.0 → 6.6.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 +6 -0
- package/README.md +6 -0
- package/npm-shrinkwrap.json +12 -12
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [6.6.1](https://github.com/appium/appium-uiautomator2-driver/compare/v6.6.0...v6.6.1) (2025-12-02)
|
|
2
|
+
|
|
3
|
+
### Miscellaneous Chores
|
|
4
|
+
|
|
5
|
+
* Document new properties on list.. methods ([#950](https://github.com/appium/appium-uiautomator2-driver/issues/950)) ([1c74692](https://github.com/appium/appium-uiautomator2-driver/commit/1c7469240bd1be919bf017ea682806288eb7b526))
|
|
6
|
+
|
|
1
7
|
## [6.6.0](https://github.com/appium/appium-uiautomator2-driver/compare/v6.5.0...v6.6.0) (2025-12-01)
|
|
2
8
|
|
|
3
9
|
### Features
|
package/README.md
CHANGED
|
@@ -566,6 +566,7 @@ Name | Type | Description | Example
|
|
|
566
566
|
windowId | number \| null | Window identifier (may be null if the window ID cannot be determined) | 42
|
|
567
567
|
displayId | number | Display identifier where the window is located | 0
|
|
568
568
|
physicalDisplayId | string \| null | Physical display identifier (may be null). Returned as a string to avoid JavaScript number precision issues with large values. | '1234567890'
|
|
569
|
+
virtualDisplayId | string \| null | Virtual display identifier (may be null). Only set for virtual displays, null otherwise. Parsed from 'dumpsys SurfaceFlinger --displays' output by matching display name. | '12345'
|
|
569
570
|
rect | object | Window bounds rectangle with `left`, `top`, `right`, `bottom` properties | `{left: 0, top: 0, right: 1080, bottom: 1920}`
|
|
570
571
|
packageName | string \| null | Package name of the application that owns this window (may be null) | `com.example.app`
|
|
571
572
|
screenshot | string \| null | Base64-encoded PNG screenshot of the window (may be null). Only available on Android API 34+ and when `skipScreenshots` is `false`. | `iVBORw0KGgoAAAANSUhEUgAA...`
|
|
@@ -588,7 +589,9 @@ The extension returns an array of display information objects. Each object conta
|
|
|
588
589
|
Name | Type | Description | Example
|
|
589
590
|
--- | --- | --- | ---
|
|
590
591
|
id | number | Display identifier (logical display ID). This is the value used by the `currentDisplayId` setting. | 0
|
|
592
|
+
name | string \| null | Display name (may be null) | 'Built-in Screen'
|
|
591
593
|
physicalId | string \| null | Physical display identifier (may be null). Returned as a string to avoid JavaScript number precision issues with large values. This is the value used by the `mobile: screenshots` method. | '1234567890'
|
|
594
|
+
virtualId | string \| null | Virtual display identifier (may be null). Only set for virtual displays, null otherwise. Parsed from 'dumpsys SurfaceFlinger --displays' output by matching display name. | '12345'
|
|
592
595
|
metrics | object | Display metrics containing size and density information. See below for details. | See metrics table
|
|
593
596
|
isDefault | boolean | Whether this is the default display | true
|
|
594
597
|
|
|
@@ -613,7 +616,10 @@ displays = driver.execute_script('mobile: listDisplays')
|
|
|
613
616
|
|
|
614
617
|
for display in displays:
|
|
615
618
|
print(f"Display ID: {display['id']}")
|
|
619
|
+
print(f" Name: {display['name']}")
|
|
616
620
|
print(f" Physical ID: {display['physicalId']}")
|
|
621
|
+
if display.get('virtualId'):
|
|
622
|
+
print(f" Virtual ID: {display['virtualId']}")
|
|
617
623
|
print(f" Is default: {display['isDefault']}")
|
|
618
624
|
print(f" Size: {display['metrics']['widthPixels']}x{display['metrics']['heightPixels']}")
|
|
619
625
|
print(f" Density: {display['metrics']['density']} ({display['metrics']['densityDpi']} DPI)")
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appium-uiautomator2-driver",
|
|
3
|
-
"version": "6.6.
|
|
3
|
+
"version": "6.6.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "appium-uiautomator2-driver",
|
|
9
|
-
"version": "6.6.
|
|
9
|
+
"version": "6.6.1",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"appium-adb": "^14.0.0",
|
|
13
13
|
"appium-android-driver": "^12.3.0",
|
|
14
|
-
"appium-uiautomator2-server": "^9.
|
|
14
|
+
"appium-uiautomator2-server": "^9.8.0",
|
|
15
15
|
"asyncbox": "^3.0.0",
|
|
16
16
|
"axios": "^1.12.2",
|
|
17
17
|
"bluebird": "^3.5.1",
|
|
@@ -631,9 +631,9 @@
|
|
|
631
631
|
}
|
|
632
632
|
},
|
|
633
633
|
"node_modules/appium-chromedriver": {
|
|
634
|
-
"version": "8.0.
|
|
635
|
-
"resolved": "https://registry.npmjs.org/appium-chromedriver/-/appium-chromedriver-8.0.
|
|
636
|
-
"integrity": "sha512-
|
|
634
|
+
"version": "8.0.23",
|
|
635
|
+
"resolved": "https://registry.npmjs.org/appium-chromedriver/-/appium-chromedriver-8.0.23.tgz",
|
|
636
|
+
"integrity": "sha512-T1A+9A4X396/MSmVaLkQb1Gkbj0OYxTG/hIr+Qq/Iv0HMsIq7boFiDauPhfi5cVoJ6gMdv9KQc+9BdhvpPAboA==",
|
|
637
637
|
"license": "Apache-2.0",
|
|
638
638
|
"dependencies": {
|
|
639
639
|
"@appium/base-driver": "^10.0.0-rc.2",
|
|
@@ -656,9 +656,9 @@
|
|
|
656
656
|
}
|
|
657
657
|
},
|
|
658
658
|
"node_modules/appium-uiautomator2-server": {
|
|
659
|
-
"version": "9.
|
|
660
|
-
"resolved": "https://registry.npmjs.org/appium-uiautomator2-server/-/appium-uiautomator2-server-9.
|
|
661
|
-
"integrity": "sha512-
|
|
659
|
+
"version": "9.8.0",
|
|
660
|
+
"resolved": "https://registry.npmjs.org/appium-uiautomator2-server/-/appium-uiautomator2-server-9.8.0.tgz",
|
|
661
|
+
"integrity": "sha512-iG/PufSB2hRj7yMtnpiyocOkEQdlmXHGfKEVTJXtuVmNO2ZZ/frZ8jdknO83T2zqzQBVUj5saNBx+zpfiWvI2g==",
|
|
662
662
|
"license": "Apache-2.0",
|
|
663
663
|
"engines": {
|
|
664
664
|
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
|
|
@@ -4050,9 +4050,9 @@
|
|
|
4050
4050
|
}
|
|
4051
4051
|
},
|
|
4052
4052
|
"node_modules/teen_process": {
|
|
4053
|
-
"version": "3.0.
|
|
4054
|
-
"resolved": "https://registry.npmjs.org/teen_process/-/teen_process-3.0.
|
|
4055
|
-
"integrity": "sha512-
|
|
4053
|
+
"version": "3.0.4",
|
|
4054
|
+
"resolved": "https://registry.npmjs.org/teen_process/-/teen_process-3.0.4.tgz",
|
|
4055
|
+
"integrity": "sha512-NQA/5PdJWEAxuYoBRW7RajnAyWmfh5iGMY1kEXiAzobtv0ztERcfDnfszpUTuvhFXrvh3E4GvHt9yWbS/EndzQ==",
|
|
4056
4056
|
"license": "Apache-2.0",
|
|
4057
4057
|
"dependencies": {
|
|
4058
4058
|
"bluebird": "^3.7.2",
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"automated testing",
|
|
8
8
|
"android"
|
|
9
9
|
],
|
|
10
|
-
"version": "6.6.
|
|
10
|
+
"version": "6.6.1",
|
|
11
11
|
"bugs": {
|
|
12
12
|
"url": "https://github.com/appium/appium-uiautomator2-driver/issues"
|
|
13
13
|
},
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"appium-adb": "^14.0.0",
|
|
60
60
|
"appium-android-driver": "^12.3.0",
|
|
61
|
-
"appium-uiautomator2-server": "^9.
|
|
61
|
+
"appium-uiautomator2-server": "^9.8.0",
|
|
62
62
|
"asyncbox": "^3.0.0",
|
|
63
63
|
"axios": "^1.12.2",
|
|
64
64
|
"bluebird": "^3.5.1",
|