appium-uiautomator2-driver 2.29.10 → 2.30.0

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.
Files changed (135) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/build/index.d.ts +4 -0
  3. package/build/index.d.ts.map +1 -0
  4. package/build/index.js +8 -16
  5. package/build/index.js.map +1 -0
  6. package/build/lib/commands/actions.d.ts +2 -0
  7. package/build/lib/commands/actions.d.ts.map +1 -0
  8. package/build/lib/commands/actions.js +67 -65
  9. package/build/lib/commands/actions.js.map +1 -1
  10. package/build/lib/commands/alert.d.ts +2 -0
  11. package/build/lib/commands/alert.d.ts.map +1 -0
  12. package/build/lib/commands/alert.js +28 -29
  13. package/build/lib/commands/alert.js.map +1 -1
  14. package/build/lib/commands/app-strings.d.ts +3 -0
  15. package/build/lib/commands/app-strings.d.ts.map +1 -0
  16. package/build/lib/commands/app-strings.js +86 -58
  17. package/build/lib/commands/app-strings.js.map +1 -1
  18. package/build/lib/commands/battery.d.ts +2 -0
  19. package/build/lib/commands/battery.d.ts.map +1 -0
  20. package/build/lib/commands/battery.js +26 -18
  21. package/build/lib/commands/battery.js.map +1 -1
  22. package/build/lib/commands/element.d.ts +2 -0
  23. package/build/lib/commands/element.d.ts.map +1 -0
  24. package/build/lib/commands/element.js +140 -162
  25. package/build/lib/commands/element.js.map +1 -1
  26. package/build/lib/commands/find.d.ts +2 -0
  27. package/build/lib/commands/find.d.ts.map +1 -0
  28. package/build/lib/commands/find.js +39 -27
  29. package/build/lib/commands/find.js.map +1 -1
  30. package/build/lib/commands/general.d.ts +4 -0
  31. package/build/lib/commands/general.d.ts.map +1 -0
  32. package/build/lib/commands/general.js +217 -216
  33. package/build/lib/commands/general.js.map +1 -1
  34. package/build/lib/commands/gestures.d.ts +2 -0
  35. package/build/lib/commands/gestures.d.ts.map +1 -0
  36. package/build/lib/commands/gestures.js +206 -194
  37. package/build/lib/commands/gestures.js.map +1 -1
  38. package/build/lib/commands/index.d.ts +2 -0
  39. package/build/lib/commands/index.d.ts.map +1 -0
  40. package/build/lib/commands/index.js +13 -23
  41. package/build/lib/commands/index.js.map +1 -1
  42. package/build/lib/commands/mixins.d.ts +84 -0
  43. package/build/lib/commands/mixins.d.ts.map +1 -0
  44. package/build/lib/commands/mixins.js +23 -0
  45. package/build/lib/commands/mixins.js.map +1 -0
  46. package/build/lib/commands/screenshot.d.ts +2 -0
  47. package/build/lib/commands/screenshot.d.ts.map +1 -0
  48. package/build/lib/commands/screenshot.js +77 -63
  49. package/build/lib/commands/screenshot.js.map +1 -1
  50. package/build/lib/commands/touch.d.ts +2 -0
  51. package/build/lib/commands/touch.d.ts.map +1 -0
  52. package/build/lib/commands/touch.js +48 -39
  53. package/build/lib/commands/touch.js.map +1 -1
  54. package/build/lib/commands/types.d.ts +452 -0
  55. package/build/lib/commands/types.d.ts.map +1 -0
  56. package/build/lib/commands/types.js +3 -0
  57. package/build/lib/commands/types.js.map +1 -0
  58. package/build/lib/commands/viewport.d.ts +2 -0
  59. package/build/lib/commands/viewport.d.ts.map +1 -0
  60. package/build/lib/commands/viewport.js +37 -37
  61. package/build/lib/commands/viewport.js.map +1 -1
  62. package/build/lib/constraints.d.ts +334 -0
  63. package/build/lib/constraints.d.ts.map +1 -0
  64. package/build/lib/constraints.js +51 -0
  65. package/build/lib/constraints.js.map +1 -0
  66. package/build/lib/css-converter.d.ts +45 -0
  67. package/build/lib/css-converter.d.ts.map +1 -0
  68. package/build/lib/css-converter.js +272 -176
  69. package/build/lib/css-converter.js.map +1 -1
  70. package/build/lib/driver.d.ts +912 -0
  71. package/build/lib/driver.d.ts.map +1 -0
  72. package/build/lib/driver.js +738 -483
  73. package/build/lib/driver.js.map +1 -1
  74. package/build/lib/execute-method-map.d.ts +477 -0
  75. package/build/lib/execute-method-map.d.ts.map +1 -0
  76. package/build/lib/execute-method-map.js +542 -0
  77. package/build/lib/execute-method-map.js.map +1 -0
  78. package/build/lib/extensions.d.ts +3 -0
  79. package/build/lib/extensions.d.ts.map +1 -0
  80. package/build/lib/extensions.js +3 -7
  81. package/build/lib/extensions.js.map +1 -1
  82. package/build/lib/helpers.d.ts +7 -0
  83. package/build/lib/helpers.d.ts.map +1 -0
  84. package/build/lib/helpers.js +36 -30
  85. package/build/lib/helpers.js.map +1 -1
  86. package/build/lib/logger.d.ts +3 -0
  87. package/build/lib/logger.d.ts.map +1 -0
  88. package/build/lib/logger.js +5 -11
  89. package/build/lib/logger.js.map +1 -1
  90. package/build/lib/method-map.d.ts +389 -0
  91. package/build/lib/method-map.d.ts.map +1 -0
  92. package/build/lib/method-map.js +11 -18
  93. package/build/lib/method-map.js.map +1 -1
  94. package/build/lib/types.d.ts +45 -0
  95. package/build/lib/types.d.ts.map +1 -0
  96. package/build/lib/types.js +3 -0
  97. package/build/lib/types.js.map +1 -0
  98. package/build/lib/uiautomator2.d.ts +45 -0
  99. package/build/lib/uiautomator2.d.ts.map +1 -0
  100. package/build/lib/uiautomator2.js +334 -297
  101. package/build/lib/uiautomator2.js.map +1 -1
  102. package/build/lib/utils.d.ts +10 -0
  103. package/build/lib/utils.d.ts.map +1 -0
  104. package/build/lib/utils.js +23 -16
  105. package/build/lib/utils.js.map +1 -1
  106. package/build/tsconfig.tsbuildinfo +1 -0
  107. package/index.js +5 -3
  108. package/lib/commands/actions.js +115 -101
  109. package/lib/commands/alert.js +36 -44
  110. package/lib/commands/app-strings.js +79 -58
  111. package/lib/commands/battery.js +27 -28
  112. package/lib/commands/element.js +231 -134
  113. package/lib/commands/find.js +40 -21
  114. package/lib/commands/general.js +271 -336
  115. package/lib/commands/gestures.js +252 -366
  116. package/lib/commands/index.js +11 -31
  117. package/lib/commands/mixins.ts +167 -0
  118. package/lib/commands/screenshot.js +80 -76
  119. package/lib/commands/touch.js +64 -31
  120. package/lib/commands/types.ts +473 -0
  121. package/lib/commands/viewport.js +43 -31
  122. package/lib/constraints.ts +53 -0
  123. package/lib/css-converter.js +9 -1
  124. package/lib/{driver.js → driver.ts} +383 -225
  125. package/lib/execute-method-map.ts +573 -0
  126. package/lib/method-map.ts +11 -0
  127. package/lib/types.ts +59 -0
  128. package/lib/uiautomator2.js +21 -2
  129. package/lib/utils.js +2 -2
  130. package/npm-shrinkwrap.json +396 -528
  131. package/package.json +96 -70
  132. package/build/lib/desired-caps.js +0 -72
  133. package/build/lib/desired-caps.js.map +0 -1
  134. package/lib/desired-caps.js +0 -70
  135. package/lib/method-map.js +0 -11
@@ -0,0 +1,477 @@
1
+ /**
2
+ * @privateRemarks This was created by hand from the type definitions in `lib/commands` here and in `appium-android-driver`.
3
+ * @module
4
+ */
5
+ export declare const executeMethodMap: {
6
+ readonly 'mobile: shell': {
7
+ readonly command: "mobileShell";
8
+ readonly params: {
9
+ readonly required: readonly ["command"];
10
+ readonly optional: readonly ["args", "timeout", "includeStderr"];
11
+ };
12
+ };
13
+ readonly 'mobile: execEmuConsoleCommand': {
14
+ readonly command: "mobileExecEmuConsoleCommand";
15
+ readonly params: {
16
+ readonly required: readonly ["command"];
17
+ readonly optional: readonly ["execTimeout", "connTimeout", "initTimeout"];
18
+ };
19
+ };
20
+ readonly 'mobile: dragGesture': {
21
+ readonly command: "mobileDragGesture";
22
+ readonly params: {
23
+ readonly optional: readonly ["elementId", "startX", "startY", "endX", "endY", "speed"];
24
+ };
25
+ };
26
+ readonly 'mobile: flingGesture': {
27
+ readonly command: "mobileFlingGesture";
28
+ readonly params: {
29
+ readonly required: readonly ["direction"];
30
+ readonly optional: readonly ["elementId", "left", "top", "width", "height", "speed"];
31
+ };
32
+ };
33
+ readonly 'mobile: doubleClickGesture': {
34
+ readonly command: "mobileDoubleClickGesture";
35
+ readonly params: {
36
+ readonly optional: readonly ["elementId", "x", "y"];
37
+ };
38
+ };
39
+ readonly 'mobile: clickGesture': {
40
+ readonly command: "mobileClickGesture";
41
+ readonly params: {
42
+ readonly optional: readonly ["elementId", "x", "y"];
43
+ };
44
+ };
45
+ readonly 'mobile: longClickGesture': {
46
+ readonly command: "mobileLongClickGesture";
47
+ readonly params: {
48
+ readonly optional: readonly ["elementId", "x", "y", "duration"];
49
+ };
50
+ };
51
+ readonly 'mobile: pinchCloseGesture': {
52
+ readonly command: "mobilePinchCloseGesture";
53
+ readonly params: {
54
+ readonly required: readonly ["percent"];
55
+ readonly optional: readonly ["elementId", "left", "top", "width", "height", "speed"];
56
+ };
57
+ };
58
+ readonly 'mobile: pinchOpenGesture': {
59
+ readonly command: "mobilePinchOpenGesture";
60
+ readonly params: {
61
+ readonly required: readonly ["percent"];
62
+ readonly optional: readonly ["elementId", "left", "top", "width", "height", "speed"];
63
+ };
64
+ };
65
+ readonly 'mobile: swipeGesture': {
66
+ readonly command: "mobileSwipeGesture";
67
+ readonly params: {
68
+ readonly required: readonly ["direction", "percent"];
69
+ readonly optional: readonly ["elementId", "left", "top", "width", "height", "speed"];
70
+ };
71
+ };
72
+ readonly 'mobile: scrollGesture': {
73
+ readonly command: "mobileScrollGesture";
74
+ readonly params: {
75
+ readonly required: readonly ["direction", "percent"];
76
+ readonly optional: readonly ["elementId", "left", "top", "width", "height", "speed"];
77
+ };
78
+ };
79
+ readonly 'mobile: scrollBackTo': {
80
+ readonly command: "mobileScrollBackTo";
81
+ readonly params: {
82
+ readonly required: readonly ["elementId", "elementToId"];
83
+ };
84
+ };
85
+ readonly 'mobile: scroll': {
86
+ readonly command: "mobileScroll";
87
+ readonly params: {
88
+ readonly required: readonly ["strategy", "selector"];
89
+ readonly optional: readonly ["elementId", "maxSwipes", "element"];
90
+ };
91
+ };
92
+ readonly 'mobile: viewportScreenshot': {
93
+ readonly command: "mobileViewportScreenshot";
94
+ };
95
+ readonly 'mobile: viewportRect': {
96
+ readonly command: "mobileViewPortRect";
97
+ };
98
+ readonly 'mobile: deepLink': {
99
+ readonly command: "mobileDeepLink";
100
+ readonly params: {
101
+ readonly required: readonly ["url", "package"];
102
+ readonly optional: readonly ["waitForLaunch"];
103
+ };
104
+ };
105
+ readonly 'mobile: startLogsBroadcast': {
106
+ readonly command: "mobileStartLogsBroadcast";
107
+ };
108
+ readonly 'mobile: stopLogsBroadcast': {
109
+ readonly command: "mobileStopLogsBroadcast";
110
+ };
111
+ readonly 'mobile: acceptAlert': {
112
+ readonly command: "mobileAcceptAlert";
113
+ readonly params: {
114
+ readonly optional: readonly ["buttonLabel"];
115
+ };
116
+ };
117
+ readonly 'mobile: dismissAlert': {
118
+ readonly command: "mobileDismissAlert";
119
+ readonly params: {
120
+ readonly optional: readonly ["buttonLabel"];
121
+ };
122
+ };
123
+ readonly 'mobile: batteryInfo': {
124
+ readonly command: "mobileGetBatteryInfo";
125
+ };
126
+ readonly 'mobile: deviceInfo': {
127
+ readonly command: "mobileGetDeviceInfo";
128
+ };
129
+ readonly 'mobile: getDeviceTime': {
130
+ readonly command: "mobileGetDeviceTime";
131
+ readonly params: {
132
+ readonly optional: readonly ["format"];
133
+ };
134
+ };
135
+ readonly 'mobile: changePermissions': {
136
+ readonly command: "mobileChangePermissions";
137
+ readonly params: {
138
+ readonly required: readonly ["permissions"];
139
+ readonly optional: readonly ["appPackage", "action", "target"];
140
+ };
141
+ };
142
+ readonly 'mobile: getPermissions': {
143
+ readonly command: "mobileGetPermissions";
144
+ readonly params: {
145
+ readonly optional: readonly ["type", "appPackage"];
146
+ };
147
+ };
148
+ readonly 'mobile: performEditorAction': {
149
+ readonly command: "mobilePerformEditorAction";
150
+ readonly params: {
151
+ readonly required: readonly ["action"];
152
+ };
153
+ };
154
+ readonly 'mobile: startScreenStreaming': {
155
+ readonly command: "mobileStartScreenStreaming";
156
+ readonly params: {
157
+ readonly optional: readonly ["width", "height", "bitrate", "host", "pathname", "tcpPort", "port", "quality", "considerRotation", "logPipelineDetails"];
158
+ };
159
+ };
160
+ readonly 'mobile: stopScreenStreaming': {
161
+ readonly command: "mobileStopScreenStreaming";
162
+ };
163
+ readonly 'mobile: getNotifications': {
164
+ readonly command: "mobileGetNotifications";
165
+ };
166
+ readonly 'mobile: openNotifications': {
167
+ readonly command: "openNotifications";
168
+ };
169
+ readonly 'mobile: listSms': {
170
+ readonly command: "mobileListSms";
171
+ readonly params: {
172
+ readonly optional: readonly ["max"];
173
+ };
174
+ };
175
+ readonly 'mobile: type': {
176
+ readonly command: "mobileType";
177
+ readonly params: {
178
+ readonly required: readonly ["text"];
179
+ };
180
+ };
181
+ readonly 'mobile: replaceElementValue': {
182
+ readonly command: "mobileReplaceElementValue";
183
+ readonly params: {
184
+ readonly required: readonly ["elementId", "text"];
185
+ };
186
+ };
187
+ readonly 'mobile: pushFile': {
188
+ readonly command: "mobilePushFile";
189
+ readonly params: {
190
+ readonly required: readonly ["payload", "remotePath"];
191
+ };
192
+ };
193
+ readonly 'mobile: pullFile': {
194
+ readonly command: "mobilePullFile";
195
+ readonly params: {
196
+ readonly required: readonly ["remotePath"];
197
+ };
198
+ };
199
+ readonly 'mobile: pullFolder': {
200
+ readonly command: "mobilePullFolder";
201
+ readonly params: {
202
+ readonly required: readonly ["remotePath"];
203
+ };
204
+ };
205
+ readonly 'mobile: deleteFile': {
206
+ readonly command: "mobileDeleteFile";
207
+ readonly params: {
208
+ readonly required: readonly ["remotePath"];
209
+ };
210
+ };
211
+ readonly 'mobile: isAppInstalled': {
212
+ readonly command: "mobileIsAppInstalled";
213
+ readonly params: {
214
+ readonly required: readonly ["appId"];
215
+ };
216
+ };
217
+ readonly 'mobile: queryAppState': {
218
+ readonly command: "mobileQueryAppState";
219
+ readonly params: {
220
+ readonly required: readonly ["appId"];
221
+ };
222
+ };
223
+ readonly 'mobile: activateApp': {
224
+ readonly command: "mobileActivateApp";
225
+ readonly params: {
226
+ readonly required: readonly ["appId"];
227
+ };
228
+ };
229
+ readonly 'mobile: removeApp': {
230
+ readonly command: "mobileRemoveApp";
231
+ readonly params: {
232
+ readonly required: readonly ["appId"];
233
+ readonly optional: readonly ["timeout", "keepData"];
234
+ };
235
+ };
236
+ readonly 'mobile: terminateApp': {
237
+ readonly command: "mobileTerminateApp";
238
+ readonly params: {
239
+ readonly required: readonly ["appId"];
240
+ readonly optional: readonly ["timeout"];
241
+ };
242
+ };
243
+ readonly 'mobile: installApp': {
244
+ readonly command: "mobileInstallApp";
245
+ readonly params: {
246
+ readonly required: readonly ["appPath"];
247
+ readonly optional: readonly ["timeout", "keepData"];
248
+ };
249
+ };
250
+ readonly 'mobile: clearApp': {
251
+ readonly command: "mobileClearApp";
252
+ readonly params: {
253
+ readonly required: readonly ["appId"];
254
+ };
255
+ };
256
+ readonly 'mobile: backgroundApp': {
257
+ readonly command: "mobileBackgroundApp";
258
+ readonly params: {
259
+ readonly optional: readonly ["seconds"];
260
+ };
261
+ };
262
+ readonly 'mobile: getCurrentActivity': {
263
+ readonly command: "getCurrentActivity";
264
+ };
265
+ readonly 'mobile: getCurrentPackage': {
266
+ readonly command: "getCurrentPackage";
267
+ };
268
+ readonly 'mobile: startActivity': {
269
+ readonly command: "mobileStartActivity";
270
+ readonly params: {
271
+ readonly optional: readonly ["wait", "stop", "windowingMode", "activityType", "display"];
272
+ };
273
+ };
274
+ readonly 'mobile: startService': {
275
+ readonly command: "mobileStartService";
276
+ readonly params: {
277
+ readonly optional: readonly ["user", "intent", "action", "package", "uri", "mimeType", "identifier", "component", "categories", "extras", "flags", "wait", "stop", "windowingMode", "activityType", "display"];
278
+ };
279
+ };
280
+ readonly 'mobile: stopService': {
281
+ readonly command: "mobileStopService";
282
+ readonly params: {
283
+ readonly optional: readonly ["user", "intent", "action", "package", "uri", "mimeType", "identifier", "component", "categories", "extras", "flags"];
284
+ };
285
+ };
286
+ readonly 'mobile: broadcast': {
287
+ readonly command: "mobileBroadcast";
288
+ readonly params: {
289
+ readonly optional: readonly ["user", "intent", "action", "package", "uri", "mimeType", "identifier", "component", "categories", "extras", "flags", "receiverPermission", "allowBackgroundActivityStarts"];
290
+ };
291
+ };
292
+ readonly 'mobile: getContexts': {
293
+ readonly command: "mobileGetContexts";
294
+ };
295
+ readonly 'mobile: getAppStrings': {
296
+ readonly command: "mobileGetAppStrings";
297
+ readonly params: {
298
+ readonly optional: readonly ["language"];
299
+ };
300
+ };
301
+ readonly 'mobile: installMultipleApks': {
302
+ readonly command: "mobileInstallMultipleApks";
303
+ readonly params: {
304
+ readonly required: readonly ["apks"];
305
+ readonly optional: readonly ["options"];
306
+ };
307
+ };
308
+ readonly 'mobile: lock': {
309
+ readonly command: "mobileLock";
310
+ readonly params: {
311
+ readonly optional: readonly ["seconds"];
312
+ };
313
+ };
314
+ readonly 'mobile: unlock': {
315
+ readonly command: "mobileUnlock";
316
+ readonly params: {
317
+ readonly optional: readonly ["key", "type", "strategy", "timeoutMs"];
318
+ };
319
+ };
320
+ readonly 'mobile: isLocked': {
321
+ readonly command: "isLocked";
322
+ };
323
+ readonly 'mobile: refreshGpsCache': {
324
+ readonly command: "mobileRefreshGpsCache";
325
+ readonly params: {
326
+ readonly optional: readonly ["timeoutMs"];
327
+ };
328
+ };
329
+ readonly 'mobile: startMediaProjectionRecording': {
330
+ readonly command: "mobileStartMediaProjectionRecording";
331
+ readonly params: {
332
+ readonly optional: readonly ["resolution", "maxDurationSec", "priority", "filename"];
333
+ };
334
+ };
335
+ readonly 'mobile: isMediaProjectionRecordingRunning': {
336
+ readonly command: "mobileIsMediaProjectionRecordingRunning";
337
+ };
338
+ readonly 'mobile: stopMediaProjectionRecording': {
339
+ readonly command: "mobileStopMediaProjectionRecording";
340
+ readonly params: {
341
+ readonly optional: readonly ["remotePath", "user", "pass", "method", "headers", "fileFieldName", "formFields", "uploadTimeout"];
342
+ };
343
+ };
344
+ readonly 'mobile: getConnectivity': {
345
+ readonly command: "mobileGetConnectivity";
346
+ readonly params: {
347
+ readonly optional: readonly ["services"];
348
+ };
349
+ };
350
+ readonly 'mobile: setConnectivity': {
351
+ readonly command: "mobileSetConnectivity";
352
+ readonly params: {
353
+ readonly optional: readonly ["wifi", "data", "airplaneMode"];
354
+ };
355
+ };
356
+ readonly 'mobile: toggleGps': {
357
+ readonly command: "toggleLocationServices";
358
+ };
359
+ readonly 'mobile: isGpsEnabled': {
360
+ readonly command: "isLocationServicesEnabled";
361
+ };
362
+ readonly 'mobile: hideKeyboard': {
363
+ readonly command: "hideKeyboard";
364
+ };
365
+ readonly 'mobile: isKeyboardShown': {
366
+ readonly command: "isKeyboardShown";
367
+ };
368
+ readonly 'mobile: pressKey': {
369
+ readonly command: "mobilePressKey";
370
+ readonly params: {
371
+ readonly required: readonly ["keycode"];
372
+ readonly optional: readonly ["metastate", "flags", "isLongPress"];
373
+ };
374
+ };
375
+ readonly 'mobile: getDisplayDensity': {
376
+ readonly command: "getDisplayDensity";
377
+ };
378
+ readonly 'mobile: getSystemBars': {
379
+ readonly command: "getSystemBars";
380
+ };
381
+ readonly 'mobile: fingerprint': {
382
+ readonly command: "mobileFingerprint";
383
+ readonly params: {
384
+ readonly required: readonly ["fingerprintId"];
385
+ };
386
+ };
387
+ readonly 'mobile: sendSms': {
388
+ readonly command: "mobileSendSms";
389
+ readonly params: {
390
+ readonly required: readonly ["phoneNumber", "message"];
391
+ };
392
+ };
393
+ readonly 'mobile: gsmCall': {
394
+ readonly command: "mobileGsmCall";
395
+ readonly params: {
396
+ readonly required: readonly ["phoneNumber", "action"];
397
+ };
398
+ };
399
+ readonly 'mobile: gsmSignal': {
400
+ readonly command: "mobileGsmSignal";
401
+ readonly params: {
402
+ readonly required: readonly ["strength"];
403
+ };
404
+ };
405
+ readonly 'mobile: gsmVoice': {
406
+ readonly command: "mobileGsmVoice";
407
+ readonly params: {
408
+ readonly required: readonly ["state"];
409
+ };
410
+ };
411
+ readonly 'mobile: powerAc': {
412
+ readonly command: "mobilePowerAc";
413
+ readonly params: {
414
+ readonly required: readonly ["state"];
415
+ };
416
+ };
417
+ readonly 'mobile: powerCapacity': {
418
+ readonly command: "mobilePowerCapacity";
419
+ readonly params: {
420
+ readonly required: readonly ["percent"];
421
+ };
422
+ };
423
+ readonly 'mobile: networkSpeed': {
424
+ readonly command: "mobileNetworkSpeed";
425
+ readonly params: {
426
+ readonly required: readonly ["speed"];
427
+ };
428
+ };
429
+ readonly 'mobile: sensorSet': {
430
+ readonly command: "sensorSet";
431
+ readonly params: {
432
+ readonly required: readonly ["sensorType", "value"];
433
+ };
434
+ };
435
+ readonly 'mobile: getPerformanceData': {
436
+ readonly command: "mobileGetPerformanceData";
437
+ readonly params: {
438
+ readonly required: readonly ["packageName", "dataType"];
439
+ };
440
+ };
441
+ readonly 'mobile: getPerformanceDataTypes': {
442
+ readonly command: "getPerformanceDataTypes";
443
+ };
444
+ readonly 'mobile: statusBar': {
445
+ readonly command: "mobilePerformStatusBarCommand";
446
+ readonly params: {
447
+ readonly required: readonly ["command"];
448
+ readonly optional: readonly ["component"];
449
+ };
450
+ };
451
+ readonly 'mobile: screenshots': {
452
+ readonly command: "mobileScreenshots";
453
+ readonly params: {
454
+ readonly optional: readonly ["displayId"];
455
+ };
456
+ };
457
+ readonly 'mobile: scheduleAction': {
458
+ readonly command: "mobileScheduleAction";
459
+ readonly params: {
460
+ readonly optional: readonly ["opts"];
461
+ };
462
+ };
463
+ readonly 'mobile: getActionHistory': {
464
+ readonly command: "mobileGetActionHistory";
465
+ readonly params: {
466
+ readonly optional: readonly ["opts"];
467
+ };
468
+ };
469
+ readonly 'mobile: unscheduleAction': {
470
+ readonly command: "mobileUnscheduleAction";
471
+ readonly params: {
472
+ readonly optional: readonly ["opts"];
473
+ };
474
+ };
475
+ };
476
+ export type Uiautomator2ExecuteMethodMap = typeof executeMethodMap;
477
+ //# sourceMappingURL=execute-method-map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute-method-map.d.ts","sourceRoot":"","sources":["../../lib/execute-method-map.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqjBnB,CAAC;AAEX,MAAM,MAAM,4BAA4B,GAAG,OAAO,gBAAgB,CAAC"}