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.
@@ -5,6 +5,7 @@ export declare const newMethodMap: {
5
5
  readonly payloadParams: {
6
6
  readonly optional: readonly ["contentType"];
7
7
  };
8
+ readonly deprecated: true;
8
9
  };
9
10
  };
10
11
  readonly '/session/:sessionId/timeouts/implicit_wait': {
@@ -13,6 +14,7 @@ export declare const newMethodMap: {
13
14
  readonly payloadParams: {
14
15
  readonly required: readonly ["ms"];
15
16
  };
17
+ readonly deprecated: true;
16
18
  };
17
19
  };
18
20
  readonly '/session/:sessionId/ime/available_engines': {
@@ -46,6 +48,7 @@ export declare const newMethodMap: {
46
48
  readonly '/session/:sessionId/window/:windowhandle/size': {
47
49
  readonly GET: {
48
50
  readonly command: "getWindowSize";
51
+ readonly deprecated: true;
49
52
  };
50
53
  };
51
54
  readonly '/session/:sessionId/keys': {
@@ -54,21 +57,25 @@ export declare const newMethodMap: {
54
57
  readonly payloadParams: {
55
58
  readonly required: readonly ["value"];
56
59
  };
60
+ readonly deprecated: true;
57
61
  };
58
62
  };
59
63
  readonly '/session/:sessionId/element/:elementId/location': {
60
64
  readonly GET: {
61
65
  readonly command: "getLocation";
66
+ readonly deprecated: true;
62
67
  };
63
68
  };
64
69
  readonly '/session/:sessionId/element/:elementId/location_in_view': {
65
70
  readonly GET: {
66
71
  readonly command: "getLocationInView";
72
+ readonly deprecated: true;
67
73
  };
68
74
  };
69
75
  readonly '/session/:sessionId/element/:elementId/size': {
70
76
  readonly GET: {
71
77
  readonly command: "getSize";
78
+ readonly deprecated: true;
72
79
  };
73
80
  };
74
81
  readonly '/session/:sessionId/appium/device/lock': {
@@ -77,16 +84,19 @@ export declare const newMethodMap: {
77
84
  readonly payloadParams: {
78
85
  readonly optional: readonly ["seconds"];
79
86
  };
87
+ readonly deprecated: true;
80
88
  };
81
89
  };
82
90
  readonly '/session/:sessionId/appium/device/unlock': {
83
91
  readonly POST: {
84
92
  readonly command: "unlock";
93
+ readonly deprecated: true;
85
94
  };
86
95
  };
87
96
  readonly '/session/:sessionId/appium/device/is_locked': {
88
97
  readonly POST: {
89
98
  readonly command: "isLocked";
99
+ readonly deprecated: true;
90
100
  };
91
101
  };
92
102
  readonly '/session/:sessionId/appium/start_recording_screen': {
@@ -108,6 +118,7 @@ export declare const newMethodMap: {
108
118
  readonly '/session/:sessionId/appium/performanceData/types': {
109
119
  readonly POST: {
110
120
  readonly command: "getPerformanceDataTypes";
121
+ readonly deprecated: true;
111
122
  };
112
123
  };
113
124
  readonly '/session/:sessionId/appium/getPerformanceData': {
@@ -117,6 +128,7 @@ export declare const newMethodMap: {
117
128
  readonly required: readonly ["packageName", "dataType"];
118
129
  readonly optional: readonly ["dataReadTimeout"];
119
130
  };
131
+ readonly deprecated: true;
120
132
  };
121
133
  };
122
134
  readonly '/session/:sessionId/appium/device/press_keycode': {
@@ -126,6 +138,7 @@ export declare const newMethodMap: {
126
138
  readonly required: readonly ["keycode"];
127
139
  readonly optional: readonly ["metastate", "flags"];
128
140
  };
141
+ readonly deprecated: true;
129
142
  };
130
143
  };
131
144
  readonly '/session/:sessionId/appium/device/long_press_keycode': {
@@ -135,6 +148,7 @@ export declare const newMethodMap: {
135
148
  readonly required: readonly ["keycode"];
136
149
  readonly optional: readonly ["metastate", "flags"];
137
150
  };
151
+ readonly deprecated: true;
138
152
  };
139
153
  };
140
154
  readonly '/session/:sessionId/appium/device/finger_print': {
@@ -143,6 +157,7 @@ export declare const newMethodMap: {
143
157
  readonly payloadParams: {
144
158
  readonly required: readonly ["fingerprintId"];
145
159
  };
160
+ readonly deprecated: true;
146
161
  };
147
162
  };
148
163
  readonly '/session/:sessionId/appium/device/send_sms': {
@@ -151,6 +166,7 @@ export declare const newMethodMap: {
151
166
  readonly payloadParams: {
152
167
  readonly required: readonly ["phoneNumber", "message"];
153
168
  };
169
+ readonly deprecated: true;
154
170
  };
155
171
  };
156
172
  readonly '/session/:sessionId/appium/device/gsm_call': {
@@ -159,6 +175,7 @@ export declare const newMethodMap: {
159
175
  readonly payloadParams: {
160
176
  readonly required: readonly ["phoneNumber", "action"];
161
177
  };
178
+ readonly deprecated: true;
162
179
  };
163
180
  };
164
181
  readonly '/session/:sessionId/appium/device/gsm_signal': {
@@ -167,6 +184,7 @@ export declare const newMethodMap: {
167
184
  readonly payloadParams: {
168
185
  readonly required: readonly ["signalStrength"];
169
186
  };
187
+ readonly deprecated: true;
170
188
  };
171
189
  };
172
190
  readonly '/session/:sessionId/appium/device/gsm_voice': {
@@ -175,6 +193,7 @@ export declare const newMethodMap: {
175
193
  readonly payloadParams: {
176
194
  readonly required: readonly ["state"];
177
195
  };
196
+ readonly deprecated: true;
178
197
  };
179
198
  };
180
199
  readonly '/session/:sessionId/appium/device/power_capacity': {
@@ -183,6 +202,7 @@ export declare const newMethodMap: {
183
202
  readonly payloadParams: {
184
203
  readonly required: readonly ["percent"];
185
204
  };
205
+ readonly deprecated: true;
186
206
  };
187
207
  };
188
208
  readonly '/session/:sessionId/appium/device/power_ac': {
@@ -191,6 +211,7 @@ export declare const newMethodMap: {
191
211
  readonly payloadParams: {
192
212
  readonly required: readonly ["state"];
193
213
  };
214
+ readonly deprecated: true;
194
215
  };
195
216
  };
196
217
  readonly '/session/:sessionId/appium/device/network_speed': {
@@ -199,6 +220,7 @@ export declare const newMethodMap: {
199
220
  readonly payloadParams: {
200
221
  readonly required: readonly ["netspeed"];
201
222
  };
223
+ readonly deprecated: true;
202
224
  };
203
225
  };
204
226
  readonly '/session/:sessionId/appium/device/keyevent': {
@@ -208,16 +230,19 @@ export declare const newMethodMap: {
208
230
  readonly required: readonly ["keycode"];
209
231
  readonly optional: readonly ["metastate"];
210
232
  };
233
+ readonly deprecated: true;
211
234
  };
212
235
  };
213
236
  readonly '/session/:sessionId/appium/device/current_activity': {
214
237
  readonly GET: {
215
238
  readonly command: "getCurrentActivity";
239
+ readonly deprecated: true;
216
240
  };
217
241
  };
218
242
  readonly '/session/:sessionId/appium/device/current_package': {
219
243
  readonly GET: {
220
244
  readonly command: "getCurrentPackage";
245
+ readonly deprecated: true;
221
246
  };
222
247
  };
223
248
  readonly '/session/:sessionId/appium/device/app_state': {
@@ -226,31 +251,37 @@ export declare const newMethodMap: {
226
251
  readonly payloadParams: {
227
252
  readonly required: readonly [readonly ["appId"], readonly ["bundleId"]];
228
253
  };
254
+ readonly deprecated: true;
229
255
  };
230
256
  };
231
257
  readonly '/session/:sessionId/appium/device/toggle_airplane_mode': {
232
258
  readonly POST: {
233
259
  readonly command: "toggleFlightMode";
260
+ readonly deprecated: true;
234
261
  };
235
262
  };
236
263
  readonly '/session/:sessionId/appium/device/toggle_data': {
237
264
  readonly POST: {
238
265
  readonly command: "toggleData";
266
+ readonly deprecated: true;
239
267
  };
240
268
  };
241
269
  readonly '/session/:sessionId/appium/device/toggle_wifi': {
242
270
  readonly POST: {
243
271
  readonly command: "toggleWiFi";
272
+ readonly deprecated: true;
244
273
  };
245
274
  };
246
275
  readonly '/session/:sessionId/appium/device/toggle_location_services': {
247
276
  readonly POST: {
248
277
  readonly command: "toggleLocationServices";
278
+ readonly deprecated: true;
249
279
  };
250
280
  };
251
281
  readonly '/session/:sessionId/appium/device/open_notifications': {
252
282
  readonly POST: {
253
283
  readonly command: "openNotifications";
284
+ readonly deprecated: true;
254
285
  };
255
286
  };
256
287
  readonly '/session/:sessionId/appium/device/start_activity': {
@@ -260,16 +291,19 @@ export declare const newMethodMap: {
260
291
  readonly required: readonly ["appPackage", "appActivity"];
261
292
  readonly optional: readonly ["appWaitPackage", "appWaitActivity", "intentAction", "intentCategory", "intentFlags", "optionalIntentArguments", "dontStopAppOnReset"];
262
293
  };
294
+ readonly deprecated: true;
263
295
  };
264
296
  };
265
297
  readonly '/session/:sessionId/appium/device/system_bars': {
266
298
  readonly GET: {
267
299
  readonly command: "getSystemBars";
300
+ readonly deprecated: true;
268
301
  };
269
302
  };
270
303
  readonly '/session/:sessionId/appium/device/display_density': {
271
304
  readonly GET: {
272
305
  readonly command: "getDisplayDensity";
306
+ readonly deprecated: true;
273
307
  };
274
308
  };
275
309
  readonly '/session/:sessionId/appium/app/background': {
@@ -278,6 +312,7 @@ export declare const newMethodMap: {
278
312
  readonly payloadParams: {
279
313
  readonly required: readonly ["seconds"];
280
314
  };
315
+ readonly deprecated: true;
281
316
  };
282
317
  };
283
318
  readonly '/session/:sessionId/appium/app/strings': {
@@ -286,6 +321,7 @@ export declare const newMethodMap: {
286
321
  readonly payloadParams: {
287
322
  readonly optional: readonly ["language", "stringFile"];
288
323
  };
324
+ readonly deprecated: true;
289
325
  };
290
326
  };
291
327
  readonly '/session/:sessionId/appium/element/:elementId/value': {
@@ -294,6 +330,7 @@ export declare const newMethodMap: {
294
330
  readonly payloadParams: {
295
331
  readonly required: readonly ["text"];
296
332
  };
333
+ readonly deprecated: true;
297
334
  };
298
335
  };
299
336
  readonly '/session/:sessionId/appium/element/:elementId/replace_value': {
@@ -302,11 +339,13 @@ export declare const newMethodMap: {
302
339
  readonly payloadParams: {
303
340
  readonly required: readonly ["text"];
304
341
  };
342
+ readonly deprecated: true;
305
343
  };
306
344
  };
307
345
  readonly '/session/:sessionId/network_connection': {
308
346
  readonly GET: {
309
347
  readonly command: "getNetworkConnection";
348
+ readonly deprecated: true;
310
349
  };
311
350
  readonly POST: {
312
351
  readonly command: "setNetworkConnection";
@@ -314,6 +353,20 @@ export declare const newMethodMap: {
314
353
  readonly unwrap: "parameters";
315
354
  readonly required: readonly ["type"];
316
355
  };
356
+ readonly deprecated: true;
357
+ };
358
+ };
359
+ readonly '/session/:sessionId/location': {
360
+ readonly GET: {
361
+ readonly command: "getGeoLocation";
362
+ readonly deprecated: true;
363
+ };
364
+ readonly POST: {
365
+ readonly command: "setGeoLocation";
366
+ readonly payloadParams: {
367
+ readonly required: readonly ["location"];
368
+ };
369
+ readonly deprecated: true;
317
370
  };
318
371
  };
319
372
  };
@@ -1 +1 @@
1
- {"version":3,"file":"method-map.d.ts","sourceRoot":"","sources":["../../lib/method-map.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQf,CAAC"}
1
+ {"version":3,"file":"method-map.d.ts","sourceRoot":"","sources":["../../lib/method-map.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASf,CAAC"}
@@ -8,6 +8,7 @@ exports.newMethodMap = {
8
8
  POST: {
9
9
  command: 'getClipboard',
10
10
  payloadParams: { optional: ['contentType'] },
11
+ deprecated: true
11
12
  },
12
13
  },
13
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"method-map.js","sourceRoot":"","sources":["../../lib/method-map.ts"],"names":[],"mappings":";;;AAAA,iEAAoD;AAEvC,QAAA,YAAY,GAAG;IAC1B,GAAG,qCAAa,CAAC,YAAY;IAC7B,iDAAiD,EAAE;QACjD,IAAI,EAAE;YACJ,OAAO,EAAE,cAAc;YACvB,aAAa,EAAE,EAAC,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAC;SAC3C;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"method-map.js","sourceRoot":"","sources":["../../lib/method-map.ts"],"names":[],"mappings":";;;AAAA,iEAAoD;AAEvC,QAAA,YAAY,GAAG;IAC1B,GAAG,qCAAa,CAAC,YAAY;IAC7B,iDAAiD,EAAE;QACjD,IAAI,EAAE;YACJ,OAAO,EAAE,cAAc;YACvB,aAAa,EAAE,EAAC,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAC;YAC1C,UAAU,EAAE,IAAI;SACjB;KACF;CACO,CAAC"}