appium-uiautomator2-driver 4.2.2 → 4.2.4
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 +20 -9
- package/build/lib/driver.d.ts +53 -0
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/method-map.d.ts +53 -0
- package/build/lib/method-map.d.ts.map +1 -1
- package/build/lib/method-map.js +1 -0
- package/build/lib/method-map.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/lib/method-map.ts +1 -0
- package/npm-shrinkwrap.json +219 -290
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [4.2.4](https://github.com/appium/appium-uiautomator2-driver/compare/v4.2.3...v4.2.4) (2025-06-24)
|
|
2
|
+
|
|
3
|
+
### Miscellaneous Chores
|
|
4
|
+
|
|
5
|
+
* Bump android driver ([64c28f2](https://github.com/appium/appium-uiautomator2-driver/commit/64c28f24495028b975e9b33e719c38d6642ff6c8))
|
|
6
|
+
|
|
7
|
+
## [4.2.3](https://github.com/appium/appium-uiautomator2-driver/compare/v4.2.2...v4.2.3) (2025-04-25)
|
|
8
|
+
|
|
9
|
+
### Miscellaneous Chores
|
|
10
|
+
|
|
11
|
+
* add deprecated: true for get clipboard ([#887](https://github.com/appium/appium-uiautomator2-driver/issues/887)) ([19c6417](https://github.com/appium/appium-uiautomator2-driver/commit/19c6417ccfc336899d09d6bdf9b4532ad625babe))
|
|
12
|
+
|
|
1
13
|
## [4.2.2](https://github.com/appium/appium-uiautomator2-driver/compare/v4.2.1...v4.2.2) (2025-04-23)
|
|
2
14
|
|
|
3
15
|
### Miscellaneous Chores
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Appium UiAutomator2 Driver is a test automation framework for Android devices. A
|
|
|
10
10
|
|
|
11
11
|
UiAutomator2 Driver proxies most of the commands to [UiAutomator2 server](https://github.com/appium/appium-uiautomator2-server), which uses Google's [UiAutomator](https://developer.android.com/training/testing/ui-automator) framework under the hood. Some commands are proxied directly to [appium-adb](https://github.com/appium/appium-adb) and other helpers built on top of Android platform tools.
|
|
12
12
|
|
|
13
|
-
>
|
|
13
|
+
> [!Note]
|
|
14
14
|
>
|
|
15
15
|
> Since version 2.0.0 UiAutomator2 driver has dropped the support of Appium 1, and is only compatible to Appium 2.
|
|
16
16
|
> Use the `appium driver install uiautomator2` command to add it to your Appium 2 dist.
|
|
@@ -297,7 +297,7 @@ Along with the common settings the following driver-specific settings are curren
|
|
|
297
297
|
|
|
298
298
|
Name | Type | Description
|
|
299
299
|
--- | --- | ---
|
|
300
|
-
actionAcknowledgmentTimeout | long | Maximum number of milliseconds to wait for an acknowledgment of generic uiautomator actions, such as clicks, text setting, and menu presses. The acknowledgment is an[AccessibilityEvent](http://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html
|
|
300
|
+
actionAcknowledgmentTimeout | long | Maximum number of milliseconds to wait for an acknowledgment of generic uiautomator actions, such as clicks, text setting, and menu presses. The acknowledgment is an [AccessibilityEvent](http://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html) corresponding to an action, that lets the framework determine if the action was successful. Generally, this timeout should not be modified. `3000` ms by default
|
|
301
301
|
allowInvisibleElements | boolean | Whether to include elements that are not visible to the user (e. g. whose `displayed` attribute is `false`) to the XML source tree. `false` by default
|
|
302
302
|
ignoreUnimportantViews | boolean | Enables or disables layout hierarchy compression. If compression is enabled, the layout hierarchy derived from the Acessibility framework will only contain nodes that are important for uiautomator testing. Any unnecessary surrounding layout nodes that make viewing and searching the hierarchy inefficient are removed. `false` by default
|
|
303
303
|
elementResponseAttributes | string | Comma-separated list of element attribute names to be included into findElement response. By default only element UUID is present there, but it is also possible to add the following items: `name`, `text`, `rect`, `enabled`, `displayed`, `selected`, `attribute/<element_attribute_name>`. It is required that `shouldUseCompactResponses` setting is set to `false` in order for this one to apply.
|
|
@@ -455,12 +455,16 @@ waitForLaunch | boolean | no | If `false` then ADB won't wait for the started ac
|
|
|
455
455
|
|
|
456
456
|
### mobile: startLogsBroadcast
|
|
457
457
|
|
|
458
|
-
Starts Android logcat broadcast websocket on the same host and port where Appium server is running at `/ws/session/:sessionId:/appium/logcat` endpoint. The method will return immediately if the web socket is already listening. Each connected
|
|
458
|
+
Starts Android logcat broadcast websocket on the same host and port where Appium server is running at `/ws/session/:sessionId:/appium/device/logcat` endpoint. The method will return immediately if the web socket is already listening. Each connected websocket listener will receive logcat log lines as soon as they are visible to Appium. Read [Using Mobile Execution Commands to Continuously Stream Device Logs with Appium](https://appiumpro.com/editions/55-using-mobile-execution-commands-to-continuously-stream-device-logs-with-appium) for more details.
|
|
459
|
+
|
|
460
|
+
Consider using [logs broadcast via BiDi](./docs/bidi.md#logentryadded) over this extension.
|
|
459
461
|
|
|
460
462
|
### mobile: stopLogsBroadcast
|
|
461
463
|
|
|
462
464
|
Stops the previously started logcat broadcasting websocket server. This method will return immediately if no server is running. Read [Using Mobile Execution Commands to Continuously Stream Device Logs with Appium](https://appiumpro.com/editions/55-using-mobile-execution-commands-to-continuously-stream-device-logs-with-appium) for more details.
|
|
463
465
|
|
|
466
|
+
Consider using [logs broadcast via BiDi](./docs/bidi.md#logentryadded) over this extension.
|
|
467
|
+
|
|
464
468
|
### mobile: deviceidle
|
|
465
469
|
|
|
466
470
|
This is a wrapper to 'adb shell dumpsys deviceidle' interface.
|
|
@@ -1198,12 +1202,12 @@ airplaneMode | boolean | True if Airplane Mode is enabled
|
|
|
1198
1202
|
Set the connectivity state for different services. At least one valid service name must be provided in arguments.
|
|
1199
1203
|
Missing values tell the driver to not change the corresponding service's state.
|
|
1200
1204
|
|
|
1201
|
-
>
|
|
1205
|
+
> [!Note]
|
|
1202
1206
|
>
|
|
1203
1207
|
> Switching Wi-Fi and mobile data states reliably work on emulators for all Android versions.
|
|
1204
1208
|
> Real devices support proper state switching only since Android 11.
|
|
1205
1209
|
|
|
1206
|
-
>
|
|
1210
|
+
> [!Note]
|
|
1207
1211
|
>
|
|
1208
1212
|
> UiAutomator2 REST server app is running on the device under test and might be terminated/disconnected by Android
|
|
1209
1213
|
> thus failing the driver session as a result of using this API. The only way to restore the session would be to quit it
|
|
@@ -1693,7 +1697,7 @@ UiAutomator2 driver supports Appium endpoints for files management:
|
|
|
1693
1697
|
Refer to the corresponding Appium client tutorial to find out the names of the corresponding wrappers for these APIs.
|
|
1694
1698
|
|
|
1695
1699
|
Useful links:
|
|
1696
|
-
- https://github.com/appium/java-client/blob/master/src/main/java/io/appium/java_client/
|
|
1700
|
+
- https://github.com/appium/java-client/blob/master/src/main/java/io/appium/java_client/PushesFiles.java
|
|
1697
1701
|
- https://github.com/appium/python-client/blob/master/appium/webdriver/extensions/remote_fs.py
|
|
1698
1702
|
|
|
1699
1703
|
|
|
@@ -1856,7 +1860,7 @@ If you observe automated tests need at least 10 seconds or more to locate/intera
|
|
|
1856
1860
|
|
|
1857
1861
|
Setting the value of `waitForIdleTimeout` to zero `0` ms should completely disable any waits, and enforce interactions to happen immediately ignoring the accessibility event stream state. The downside of that would be that all interactions are never going to be delayed, so clicks and other actions might happen at wrong places of the application UI. That is why is it important to check the app under test first and fix its source to get rid of activities hogging the event loop. Sometimes it makes sence to disable animations completely for the app build under test, which could speed up your flows significantly in some situations.
|
|
1858
1862
|
|
|
1859
|
-
>
|
|
1863
|
+
> [!Warning]
|
|
1860
1864
|
> `waitForIdleTimeout` is a setting, not a capability.
|
|
1861
1865
|
|
|
1862
1866
|
### Session Startup Issues
|
|
@@ -1889,6 +1893,7 @@ In case of _xpath_ locators you could try to change values of the following sett
|
|
|
1889
1893
|
1. [allowInvisibleElements](#settings-api)
|
|
1890
1894
|
2. [ignoreUnimportantViews](#settings-api)
|
|
1891
1895
|
3. [enableMultiWindows](#settings-api)
|
|
1896
|
+
4. [snapshotMaxDepth](#settings-api)
|
|
1892
1897
|
|
|
1893
1898
|
By default, the first setting is set to `false`, which hides
|
|
1894
1899
|
elements that are not visible from the page source and from the xpath location. Changing the setting value
|
|
@@ -1899,17 +1904,23 @@ that are normally hidden, because of their unimportance.
|
|
|
1899
1904
|
|
|
1900
1905
|
The third setting being set to `true` extends the page source by adding the actual content of other windows that are currently present on the device's screen. For example, the on-screen keyboard in Android is not a part of the current app hierarchy, but rather belongs to a separate window.
|
|
1901
1906
|
|
|
1907
|
+
It only makes sense to change the default value of the `snapshotMaxDepth` setting if the application under test
|
|
1908
|
+
has deeply nested elements in the page tree hierarchy (e.g. more than 70 levels), and the destination element
|
|
1909
|
+
is suspected to be a part of these deeply nested views. Increasing the value of this
|
|
1910
|
+
setting will reduce the performance of xPath searches and page tree retrievals, so be careful while assigning too
|
|
1911
|
+
high values to it.
|
|
1912
|
+
|
|
1902
1913
|
In case of _id_ locators you could try to change the value of the following setting:
|
|
1903
1914
|
|
|
1904
1915
|
1. [disableIdLocatorAutocompletion](#settings-api)
|
|
1905
1916
|
|
|
1906
1917
|
The general resources naming convention for Android apps is `<app_id>:id/<resource_name>`. This should guarantee uniqueness of each identifier accross the user interface. Although, this is only a convention and it is still allowed to have various resource names that do not follow it. If you have gotten one of such applications for automated testing then consider assigning `disableIdLocatorAutocompletion` setting value to `true`, so UiAutomator2 driver does not automatically rewrite supplied id values by adding `<app_id>:id/` prefixes to them.
|
|
1907
1918
|
|
|
1908
|
-
>
|
|
1919
|
+
> [!Warning]
|
|
1909
1920
|
> Default values for settings above have been selected to optimize xpath lookup and page source generation performance.
|
|
1910
1921
|
> Having these settings always different from their default values may sometimes significantly (especially in case of huge accessbility hierarchies) reduce xpath lookup and page source generation speed.
|
|
1911
1922
|
|
|
1912
|
-
>
|
|
1923
|
+
> [!Warning]
|
|
1913
1924
|
> All items above are settings, not capabilities.
|
|
1914
1925
|
|
|
1915
1926
|
### ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor
|
package/build/lib/driver.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
25
25
|
readonly payloadParams: {
|
|
26
26
|
readonly optional: readonly ["contentType"];
|
|
27
27
|
};
|
|
28
|
+
readonly deprecated: true;
|
|
28
29
|
};
|
|
29
30
|
};
|
|
30
31
|
readonly '/session/:sessionId/timeouts/implicit_wait': {
|
|
@@ -33,6 +34,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
33
34
|
readonly payloadParams: {
|
|
34
35
|
readonly required: readonly ["ms"];
|
|
35
36
|
};
|
|
37
|
+
readonly deprecated: true;
|
|
36
38
|
};
|
|
37
39
|
};
|
|
38
40
|
readonly '/session/:sessionId/ime/available_engines': {
|
|
@@ -66,6 +68,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
66
68
|
readonly '/session/:sessionId/window/:windowhandle/size': {
|
|
67
69
|
readonly GET: {
|
|
68
70
|
readonly command: "getWindowSize";
|
|
71
|
+
readonly deprecated: true;
|
|
69
72
|
};
|
|
70
73
|
};
|
|
71
74
|
readonly '/session/:sessionId/keys': {
|
|
@@ -74,21 +77,25 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
74
77
|
readonly payloadParams: {
|
|
75
78
|
readonly required: readonly ["value"];
|
|
76
79
|
};
|
|
80
|
+
readonly deprecated: true;
|
|
77
81
|
};
|
|
78
82
|
};
|
|
79
83
|
readonly '/session/:sessionId/element/:elementId/location': {
|
|
80
84
|
readonly GET: {
|
|
81
85
|
readonly command: "getLocation";
|
|
86
|
+
readonly deprecated: true;
|
|
82
87
|
};
|
|
83
88
|
};
|
|
84
89
|
readonly '/session/:sessionId/element/:elementId/location_in_view': {
|
|
85
90
|
readonly GET: {
|
|
86
91
|
readonly command: "getLocationInView";
|
|
92
|
+
readonly deprecated: true;
|
|
87
93
|
};
|
|
88
94
|
};
|
|
89
95
|
readonly '/session/:sessionId/element/:elementId/size': {
|
|
90
96
|
readonly GET: {
|
|
91
97
|
readonly command: "getSize";
|
|
98
|
+
readonly deprecated: true;
|
|
92
99
|
};
|
|
93
100
|
};
|
|
94
101
|
readonly '/session/:sessionId/appium/device/lock': {
|
|
@@ -97,16 +104,19 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
97
104
|
readonly payloadParams: {
|
|
98
105
|
readonly optional: readonly ["seconds"];
|
|
99
106
|
};
|
|
107
|
+
readonly deprecated: true;
|
|
100
108
|
};
|
|
101
109
|
};
|
|
102
110
|
readonly '/session/:sessionId/appium/device/unlock': {
|
|
103
111
|
readonly POST: {
|
|
104
112
|
readonly command: "unlock";
|
|
113
|
+
readonly deprecated: true;
|
|
105
114
|
};
|
|
106
115
|
};
|
|
107
116
|
readonly '/session/:sessionId/appium/device/is_locked': {
|
|
108
117
|
readonly POST: {
|
|
109
118
|
readonly command: "isLocked";
|
|
119
|
+
readonly deprecated: true;
|
|
110
120
|
};
|
|
111
121
|
};
|
|
112
122
|
readonly '/session/:sessionId/appium/start_recording_screen': {
|
|
@@ -128,6 +138,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
128
138
|
readonly '/session/:sessionId/appium/performanceData/types': {
|
|
129
139
|
readonly POST: {
|
|
130
140
|
readonly command: "getPerformanceDataTypes";
|
|
141
|
+
readonly deprecated: true;
|
|
131
142
|
};
|
|
132
143
|
};
|
|
133
144
|
readonly '/session/:sessionId/appium/getPerformanceData': {
|
|
@@ -137,6 +148,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
137
148
|
readonly required: readonly ["packageName", "dataType"];
|
|
138
149
|
readonly optional: readonly ["dataReadTimeout"];
|
|
139
150
|
};
|
|
151
|
+
readonly deprecated: true;
|
|
140
152
|
};
|
|
141
153
|
};
|
|
142
154
|
readonly '/session/:sessionId/appium/device/press_keycode': {
|
|
@@ -146,6 +158,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
146
158
|
readonly required: readonly ["keycode"];
|
|
147
159
|
readonly optional: readonly ["metastate", "flags"];
|
|
148
160
|
};
|
|
161
|
+
readonly deprecated: true;
|
|
149
162
|
};
|
|
150
163
|
};
|
|
151
164
|
readonly '/session/:sessionId/appium/device/long_press_keycode': {
|
|
@@ -155,6 +168,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
155
168
|
readonly required: readonly ["keycode"];
|
|
156
169
|
readonly optional: readonly ["metastate", "flags"];
|
|
157
170
|
};
|
|
171
|
+
readonly deprecated: true;
|
|
158
172
|
};
|
|
159
173
|
};
|
|
160
174
|
readonly '/session/:sessionId/appium/device/finger_print': {
|
|
@@ -163,6 +177,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
163
177
|
readonly payloadParams: {
|
|
164
178
|
readonly required: readonly ["fingerprintId"];
|
|
165
179
|
};
|
|
180
|
+
readonly deprecated: true;
|
|
166
181
|
};
|
|
167
182
|
};
|
|
168
183
|
readonly '/session/:sessionId/appium/device/send_sms': {
|
|
@@ -171,6 +186,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
171
186
|
readonly payloadParams: {
|
|
172
187
|
readonly required: readonly ["phoneNumber", "message"];
|
|
173
188
|
};
|
|
189
|
+
readonly deprecated: true;
|
|
174
190
|
};
|
|
175
191
|
};
|
|
176
192
|
readonly '/session/:sessionId/appium/device/gsm_call': {
|
|
@@ -179,6 +195,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
179
195
|
readonly payloadParams: {
|
|
180
196
|
readonly required: readonly ["phoneNumber", "action"];
|
|
181
197
|
};
|
|
198
|
+
readonly deprecated: true;
|
|
182
199
|
};
|
|
183
200
|
};
|
|
184
201
|
readonly '/session/:sessionId/appium/device/gsm_signal': {
|
|
@@ -187,6 +204,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
187
204
|
readonly payloadParams: {
|
|
188
205
|
readonly required: readonly ["signalStrength"];
|
|
189
206
|
};
|
|
207
|
+
readonly deprecated: true;
|
|
190
208
|
};
|
|
191
209
|
};
|
|
192
210
|
readonly '/session/:sessionId/appium/device/gsm_voice': {
|
|
@@ -195,6 +213,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
195
213
|
readonly payloadParams: {
|
|
196
214
|
readonly required: readonly ["state"];
|
|
197
215
|
};
|
|
216
|
+
readonly deprecated: true;
|
|
198
217
|
};
|
|
199
218
|
};
|
|
200
219
|
readonly '/session/:sessionId/appium/device/power_capacity': {
|
|
@@ -203,6 +222,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
203
222
|
readonly payloadParams: {
|
|
204
223
|
readonly required: readonly ["percent"];
|
|
205
224
|
};
|
|
225
|
+
readonly deprecated: true;
|
|
206
226
|
};
|
|
207
227
|
};
|
|
208
228
|
readonly '/session/:sessionId/appium/device/power_ac': {
|
|
@@ -211,6 +231,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
211
231
|
readonly payloadParams: {
|
|
212
232
|
readonly required: readonly ["state"];
|
|
213
233
|
};
|
|
234
|
+
readonly deprecated: true;
|
|
214
235
|
};
|
|
215
236
|
};
|
|
216
237
|
readonly '/session/:sessionId/appium/device/network_speed': {
|
|
@@ -219,6 +240,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
219
240
|
readonly payloadParams: {
|
|
220
241
|
readonly required: readonly ["netspeed"];
|
|
221
242
|
};
|
|
243
|
+
readonly deprecated: true;
|
|
222
244
|
};
|
|
223
245
|
};
|
|
224
246
|
readonly '/session/:sessionId/appium/device/keyevent': {
|
|
@@ -228,16 +250,19 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
228
250
|
readonly required: readonly ["keycode"];
|
|
229
251
|
readonly optional: readonly ["metastate"];
|
|
230
252
|
};
|
|
253
|
+
readonly deprecated: true;
|
|
231
254
|
};
|
|
232
255
|
};
|
|
233
256
|
readonly '/session/:sessionId/appium/device/current_activity': {
|
|
234
257
|
readonly GET: {
|
|
235
258
|
readonly command: "getCurrentActivity";
|
|
259
|
+
readonly deprecated: true;
|
|
236
260
|
};
|
|
237
261
|
};
|
|
238
262
|
readonly '/session/:sessionId/appium/device/current_package': {
|
|
239
263
|
readonly GET: {
|
|
240
264
|
readonly command: "getCurrentPackage";
|
|
265
|
+
readonly deprecated: true;
|
|
241
266
|
};
|
|
242
267
|
};
|
|
243
268
|
readonly '/session/:sessionId/appium/device/app_state': {
|
|
@@ -246,31 +271,37 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
246
271
|
readonly payloadParams: {
|
|
247
272
|
readonly required: readonly [readonly ["appId"], readonly ["bundleId"]];
|
|
248
273
|
};
|
|
274
|
+
readonly deprecated: true;
|
|
249
275
|
};
|
|
250
276
|
};
|
|
251
277
|
readonly '/session/:sessionId/appium/device/toggle_airplane_mode': {
|
|
252
278
|
readonly POST: {
|
|
253
279
|
readonly command: "toggleFlightMode";
|
|
280
|
+
readonly deprecated: true;
|
|
254
281
|
};
|
|
255
282
|
};
|
|
256
283
|
readonly '/session/:sessionId/appium/device/toggle_data': {
|
|
257
284
|
readonly POST: {
|
|
258
285
|
readonly command: "toggleData";
|
|
286
|
+
readonly deprecated: true;
|
|
259
287
|
};
|
|
260
288
|
};
|
|
261
289
|
readonly '/session/:sessionId/appium/device/toggle_wifi': {
|
|
262
290
|
readonly POST: {
|
|
263
291
|
readonly command: "toggleWiFi";
|
|
292
|
+
readonly deprecated: true;
|
|
264
293
|
};
|
|
265
294
|
};
|
|
266
295
|
readonly '/session/:sessionId/appium/device/toggle_location_services': {
|
|
267
296
|
readonly POST: {
|
|
268
297
|
readonly command: "toggleLocationServices";
|
|
298
|
+
readonly deprecated: true;
|
|
269
299
|
};
|
|
270
300
|
};
|
|
271
301
|
readonly '/session/:sessionId/appium/device/open_notifications': {
|
|
272
302
|
readonly POST: {
|
|
273
303
|
readonly command: "openNotifications";
|
|
304
|
+
readonly deprecated: true;
|
|
274
305
|
};
|
|
275
306
|
};
|
|
276
307
|
readonly '/session/:sessionId/appium/device/start_activity': {
|
|
@@ -280,16 +311,19 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
280
311
|
readonly required: readonly ["appPackage", "appActivity"];
|
|
281
312
|
readonly optional: readonly ["appWaitPackage", "appWaitActivity", "intentAction", "intentCategory", "intentFlags", "optionalIntentArguments", "dontStopAppOnReset"];
|
|
282
313
|
};
|
|
314
|
+
readonly deprecated: true;
|
|
283
315
|
};
|
|
284
316
|
};
|
|
285
317
|
readonly '/session/:sessionId/appium/device/system_bars': {
|
|
286
318
|
readonly GET: {
|
|
287
319
|
readonly command: "getSystemBars";
|
|
320
|
+
readonly deprecated: true;
|
|
288
321
|
};
|
|
289
322
|
};
|
|
290
323
|
readonly '/session/:sessionId/appium/device/display_density': {
|
|
291
324
|
readonly GET: {
|
|
292
325
|
readonly command: "getDisplayDensity";
|
|
326
|
+
readonly deprecated: true;
|
|
293
327
|
};
|
|
294
328
|
};
|
|
295
329
|
readonly '/session/:sessionId/appium/app/background': {
|
|
@@ -298,6 +332,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
298
332
|
readonly payloadParams: {
|
|
299
333
|
readonly required: readonly ["seconds"];
|
|
300
334
|
};
|
|
335
|
+
readonly deprecated: true;
|
|
301
336
|
};
|
|
302
337
|
};
|
|
303
338
|
readonly '/session/:sessionId/appium/app/strings': {
|
|
@@ -306,6 +341,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
306
341
|
readonly payloadParams: {
|
|
307
342
|
readonly optional: readonly ["language", "stringFile"];
|
|
308
343
|
};
|
|
344
|
+
readonly deprecated: true;
|
|
309
345
|
};
|
|
310
346
|
};
|
|
311
347
|
readonly '/session/:sessionId/appium/element/:elementId/value': {
|
|
@@ -314,6 +350,7 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
314
350
|
readonly payloadParams: {
|
|
315
351
|
readonly required: readonly ["text"];
|
|
316
352
|
};
|
|
353
|
+
readonly deprecated: true;
|
|
317
354
|
};
|
|
318
355
|
};
|
|
319
356
|
readonly '/session/:sessionId/appium/element/:elementId/replace_value': {
|
|
@@ -322,11 +359,13 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
322
359
|
readonly payloadParams: {
|
|
323
360
|
readonly required: readonly ["text"];
|
|
324
361
|
};
|
|
362
|
+
readonly deprecated: true;
|
|
325
363
|
};
|
|
326
364
|
};
|
|
327
365
|
readonly '/session/:sessionId/network_connection': {
|
|
328
366
|
readonly GET: {
|
|
329
367
|
readonly command: "getNetworkConnection";
|
|
368
|
+
readonly deprecated: true;
|
|
330
369
|
};
|
|
331
370
|
readonly POST: {
|
|
332
371
|
readonly command: "setNetworkConnection";
|
|
@@ -334,6 +373,20 @@ declare class AndroidUiautomator2Driver extends AndroidDriver implements Externa
|
|
|
334
373
|
readonly unwrap: "parameters";
|
|
335
374
|
readonly required: readonly ["type"];
|
|
336
375
|
};
|
|
376
|
+
readonly deprecated: true;
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
readonly '/session/:sessionId/location': {
|
|
380
|
+
readonly GET: {
|
|
381
|
+
readonly command: "getGeoLocation";
|
|
382
|
+
readonly deprecated: true;
|
|
383
|
+
};
|
|
384
|
+
readonly POST: {
|
|
385
|
+
readonly command: "setGeoLocation";
|
|
386
|
+
readonly payloadParams: {
|
|
387
|
+
readonly required: readonly ["location"];
|
|
388
|
+
};
|
|
389
|
+
readonly deprecated: true;
|
|
337
390
|
};
|
|
338
391
|
};
|
|
339
392
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../lib/driver.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,UAAU,EACV,cAAc,EACd,WAAW,EAEX,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACb,MAAM,eAA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