appium-android-driver 5.13.1 → 5.13.2
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 +7 -0
- package/build/index.js +43 -40
- package/build/lib/android-helpers.d.ts +136 -0
- package/build/lib/android-helpers.d.ts.map +1 -0
- package/build/lib/android-helpers.js +760 -679
- package/build/lib/android-helpers.js.map +1 -1
- package/build/lib/bootstrap.d.ts +29 -0
- package/build/lib/bootstrap.d.ts.map +1 -0
- package/build/lib/bootstrap.js +192 -179
- package/build/lib/bootstrap.js.map +1 -1
- package/build/lib/commands/actions.d.ts +209 -0
- package/build/lib/commands/actions.d.ts.map +1 -0
- package/build/lib/commands/actions.js +327 -265
- package/build/lib/commands/actions.js.map +1 -1
- package/build/lib/commands/alert.d.ts +10 -0
- package/build/lib/commands/alert.d.ts.map +1 -0
- package/build/lib/commands/alert.js +12 -18
- package/build/lib/commands/alert.js.map +1 -1
- package/build/lib/commands/app-management.d.ts +314 -0
- package/build/lib/commands/app-management.d.ts.map +1 -0
- package/build/lib/commands/app-management.js +278 -110
- package/build/lib/commands/app-management.js.map +1 -1
- package/build/lib/commands/context.d.ts +94 -0
- package/build/lib/commands/context.d.ts.map +1 -0
- package/build/lib/commands/context.js +412 -260
- package/build/lib/commands/context.js.map +1 -1
- package/build/lib/commands/coverage.d.ts +5 -0
- package/build/lib/commands/coverage.d.ts.map +1 -0
- package/build/lib/commands/coverage.js +14 -17
- package/build/lib/commands/coverage.js.map +1 -1
- package/build/lib/commands/element.d.ts +36 -0
- package/build/lib/commands/element.d.ts.map +1 -0
- package/build/lib/commands/element.js +97 -127
- package/build/lib/commands/element.js.map +1 -1
- package/build/lib/commands/emu-console.d.ts +49 -0
- package/build/lib/commands/emu-console.d.ts.map +1 -0
- package/build/lib/commands/emu-console.js +36 -25
- package/build/lib/commands/emu-console.js.map +1 -1
- package/build/lib/commands/execute.d.ts +6 -0
- package/build/lib/commands/execute.d.ts.map +1 -0
- package/build/lib/commands/execute.js +68 -69
- package/build/lib/commands/execute.js.map +1 -1
- package/build/lib/commands/file-actions.d.ts +129 -0
- package/build/lib/commands/file-actions.d.ts.map +1 -0
- package/build/lib/commands/file-actions.js +321 -178
- package/build/lib/commands/file-actions.js.map +1 -1
- package/build/lib/commands/find.d.ts +13 -0
- package/build/lib/commands/find.d.ts.map +1 -0
- package/build/lib/commands/find.js +69 -51
- package/build/lib/commands/find.js.map +1 -1
- package/build/lib/commands/general.d.ts +133 -0
- package/build/lib/commands/general.d.ts.map +1 -0
- package/build/lib/commands/general.js +275 -216
- package/build/lib/commands/general.js.map +1 -1
- package/build/lib/commands/ime.d.ts +11 -0
- package/build/lib/commands/ime.d.ts.map +1 -0
- package/build/lib/commands/ime.js +27 -33
- package/build/lib/commands/ime.js.map +1 -1
- package/build/lib/commands/index.d.ts +3 -0
- package/build/lib/commands/index.d.ts.map +1 -0
- package/build/lib/commands/index.js +32 -35
- package/build/lib/commands/index.js.map +1 -1
- package/build/lib/commands/intent.d.ts +418 -0
- package/build/lib/commands/intent.d.ts.map +1 -0
- package/build/lib/commands/intent.js +281 -151
- package/build/lib/commands/intent.js.map +1 -1
- package/build/lib/commands/keyboard.d.ts +6 -0
- package/build/lib/commands/keyboard.d.ts.map +1 -0
- package/build/lib/commands/keyboard.js +6 -14
- package/build/lib/commands/keyboard.js.map +1 -1
- package/build/lib/commands/log.d.ts +45 -0
- package/build/lib/commands/log.d.ts.map +1 -0
- package/build/lib/commands/log.js +117 -103
- package/build/lib/commands/log.js.map +1 -1
- package/build/lib/commands/media-projection.d.ts +144 -0
- package/build/lib/commands/media-projection.d.ts.map +1 -0
- package/build/lib/commands/media-projection.js +228 -171
- package/build/lib/commands/media-projection.js.map +1 -1
- package/build/lib/commands/network.d.ts +139 -0
- package/build/lib/commands/network.d.ts.map +1 -0
- package/build/lib/commands/network.js +249 -181
- package/build/lib/commands/network.js.map +1 -1
- package/build/lib/commands/performance.d.ts +101 -0
- package/build/lib/commands/performance.d.ts.map +1 -0
- package/build/lib/commands/performance.js +390 -236
- package/build/lib/commands/performance.js.map +1 -1
- package/build/lib/commands/permissions.d.ts +93 -0
- package/build/lib/commands/permissions.d.ts.map +1 -0
- package/build/lib/commands/permissions.js +133 -93
- package/build/lib/commands/permissions.js.map +1 -1
- package/build/lib/commands/recordscreen.d.ts +194 -0
- package/build/lib/commands/recordscreen.d.ts.map +1 -0
- package/build/lib/commands/recordscreen.js +293 -224
- package/build/lib/commands/recordscreen.js.map +1 -1
- package/build/lib/commands/shell.d.ts +8 -0
- package/build/lib/commands/shell.d.ts.map +1 -0
- package/build/lib/commands/shell.js +38 -43
- package/build/lib/commands/shell.js.map +1 -1
- package/build/lib/commands/streamscreen.d.ts +104 -0
- package/build/lib/commands/streamscreen.d.ts.map +1 -0
- package/build/lib/commands/streamscreen.js +364 -305
- package/build/lib/commands/streamscreen.js.map +1 -1
- package/build/lib/commands/system-bars.d.ts +100 -0
- package/build/lib/commands/system-bars.d.ts.map +1 -0
- package/build/lib/commands/system-bars.js +148 -90
- package/build/lib/commands/system-bars.js.map +1 -1
- package/build/lib/commands/touch.d.ts +30 -0
- package/build/lib/commands/touch.d.ts.map +1 -0
- package/build/lib/commands/touch.js +311 -287
- package/build/lib/commands/touch.js.map +1 -1
- package/build/lib/desired-caps.d.ts +353 -0
- package/build/lib/desired-caps.d.ts.map +1 -0
- package/build/lib/desired-caps.js +291 -292
- package/build/lib/desired-caps.js.map +1 -1
- package/build/lib/driver.d.ts +430 -0
- package/build/lib/driver.d.ts.map +1 -0
- package/build/lib/driver.js +449 -384
- package/build/lib/driver.js.map +1 -1
- package/build/lib/logger.d.ts +3 -0
- package/build/lib/logger.d.ts.map +1 -0
- package/build/lib/logger.js +5 -11
- package/build/lib/logger.js.map +1 -1
- package/build/lib/method-map.d.ts +389 -0
- package/build/lib/method-map.d.ts.map +1 -0
- package/build/lib/method-map.js +220 -394
- package/build/lib/method-map.js.map +1 -1
- package/build/lib/stubs.d.ts +8 -0
- package/build/lib/stubs.d.ts.map +1 -0
- package/build/lib/stubs.js +5 -0
- package/build/lib/stubs.js.map +1 -0
- package/build/lib/uiautomator.d.ts +24 -0
- package/build/lib/uiautomator.d.ts.map +1 -0
- package/build/lib/uiautomator.js +86 -82
- package/build/lib/uiautomator.js.map +1 -1
- package/build/lib/unlock-helpers.d.ts +38 -0
- package/build/lib/unlock-helpers.d.ts.map +1 -0
- package/build/lib/unlock-helpers.js +228 -204
- package/build/lib/unlock-helpers.js.map +1 -1
- package/build/lib/utils.d.ts +11 -0
- package/build/lib/utils.d.ts.map +1 -0
- package/build/lib/utils.js +23 -18
- package/build/lib/utils.js.map +1 -1
- package/build/lib/webview-helpers.d.ts +223 -0
- package/build/lib/webview-helpers.d.ts.map +1 -0
- package/build/lib/webview-helpers.js +476 -298
- package/build/lib/webview-helpers.js.map +1 -1
- package/index.js +3 -1
- package/lib/android-helpers.js +2 -1
- package/lib/stubs.ts +8 -0
- package/lib/unlock-helpers.js +2 -2
- package/package.json +23 -14
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
export default AndroidDriver;
|
|
2
|
+
export class AndroidDriver extends BaseDriver<any, import("@appium/types").StringRecord, import("@appium/types").StringRecord, import("@appium/types").StringRecord> {
|
|
3
|
+
static newMethodMap: {
|
|
4
|
+
readonly '/session/:sessionId/timeouts/implicit_wait': {
|
|
5
|
+
readonly POST: {
|
|
6
|
+
readonly command: "implicitWait";
|
|
7
|
+
readonly payloadParams: {
|
|
8
|
+
readonly required: readonly ["ms"];
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
readonly '/session/:sessionId/ime/available_engines': {
|
|
13
|
+
readonly GET: {
|
|
14
|
+
readonly command: "availableIMEEngines";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
readonly '/session/:sessionId/ime/active_engine': {
|
|
18
|
+
readonly GET: {
|
|
19
|
+
readonly command: "getActiveIMEEngine";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
readonly '/session/:sessionId/ime/activated': {
|
|
23
|
+
readonly GET: {
|
|
24
|
+
readonly command: "isIMEActivated";
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
readonly '/session/:sessionId/ime/deactivate': {
|
|
28
|
+
readonly POST: {
|
|
29
|
+
readonly command: "deactivateIMEEngine";
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
readonly '/session/:sessionId/ime/activate': {
|
|
33
|
+
readonly POST: {
|
|
34
|
+
readonly command: "activateIMEEngine";
|
|
35
|
+
readonly payloadParams: {
|
|
36
|
+
readonly required: readonly ["engine"];
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
readonly '/session/:sessionId/window/:windowhandle/size': {
|
|
41
|
+
readonly GET: {
|
|
42
|
+
readonly command: "getWindowSize";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
readonly '/session/:sessionId/keys': {
|
|
46
|
+
readonly POST: {
|
|
47
|
+
readonly command: "keys";
|
|
48
|
+
readonly payloadParams: {
|
|
49
|
+
readonly required: readonly ["value"];
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
readonly '/session/:sessionId/element/:elementId/location': {
|
|
54
|
+
readonly GET: {
|
|
55
|
+
readonly command: "getLocation";
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
readonly '/session/:sessionId/element/:elementId/location_in_view': {
|
|
59
|
+
readonly GET: {
|
|
60
|
+
readonly command: "getLocationInView";
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
readonly '/session/:sessionId/element/:elementId/size': {
|
|
64
|
+
readonly GET: {
|
|
65
|
+
readonly command: "getSize";
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
readonly '/session/:sessionId/touch/click': {
|
|
69
|
+
readonly POST: {
|
|
70
|
+
readonly command: "click";
|
|
71
|
+
readonly payloadParams: {
|
|
72
|
+
readonly required: readonly ["element"];
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
readonly '/session/:sessionId/touch/down': {
|
|
77
|
+
readonly POST: {
|
|
78
|
+
readonly command: "touchDown";
|
|
79
|
+
readonly payloadParams: {
|
|
80
|
+
readonly required: readonly ["x", "y"];
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
readonly '/session/:sessionId/touch/up': {
|
|
85
|
+
readonly POST: {
|
|
86
|
+
readonly command: "touchUp";
|
|
87
|
+
readonly payloadParams: {
|
|
88
|
+
readonly required: readonly ["x", "y"];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
readonly '/session/:sessionId/touch/move': {
|
|
93
|
+
readonly POST: {
|
|
94
|
+
readonly command: "touchMove";
|
|
95
|
+
readonly payloadParams: {
|
|
96
|
+
readonly required: readonly ["x", "y"];
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
readonly '/session/:sessionId/touch/longclick': {
|
|
101
|
+
readonly POST: {
|
|
102
|
+
readonly command: "touchLongClick";
|
|
103
|
+
readonly payloadParams: {
|
|
104
|
+
readonly required: readonly ["elements"];
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
readonly '/session/:sessionId/touch/flick': {
|
|
109
|
+
readonly POST: {
|
|
110
|
+
readonly command: "flick";
|
|
111
|
+
readonly payloadParams: {
|
|
112
|
+
readonly optional: readonly ["element", "xspeed", "yspeed", "xoffset", "yoffset", "speed"];
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
readonly '/session/:sessionId/touch/perform': {
|
|
117
|
+
readonly POST: {
|
|
118
|
+
readonly command: "performTouch";
|
|
119
|
+
readonly payloadParams: {
|
|
120
|
+
readonly wrap: "actions";
|
|
121
|
+
readonly required: readonly ["actions"];
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
readonly '/session/:sessionId/touch/multi/perform': {
|
|
126
|
+
readonly POST: {
|
|
127
|
+
readonly command: "performMultiAction";
|
|
128
|
+
readonly payloadParams: {
|
|
129
|
+
readonly required: readonly ["actions"];
|
|
130
|
+
readonly optional: readonly ["elementId"];
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
readonly '/session/:sessionId/appium/device/lock': {
|
|
135
|
+
readonly POST: {
|
|
136
|
+
readonly command: "lock";
|
|
137
|
+
readonly payloadParams: {
|
|
138
|
+
readonly optional: readonly ["seconds"];
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
readonly '/session/:sessionId/appium/device/unlock': {
|
|
143
|
+
readonly POST: {
|
|
144
|
+
readonly command: "unlock";
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
readonly '/session/:sessionId/appium/device/is_locked': {
|
|
148
|
+
readonly POST: {
|
|
149
|
+
readonly command: "isLocked";
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
readonly '/session/:sessionId/appium/start_recording_screen': {
|
|
153
|
+
readonly POST: {
|
|
154
|
+
readonly command: "startRecordingScreen";
|
|
155
|
+
readonly payloadParams: {
|
|
156
|
+
readonly optional: readonly ["options"];
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
readonly '/session/:sessionId/appium/stop_recording_screen': {
|
|
161
|
+
readonly POST: {
|
|
162
|
+
readonly command: "stopRecordingScreen";
|
|
163
|
+
readonly payloadParams: {
|
|
164
|
+
readonly optional: readonly ["options"];
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
readonly '/session/:sessionId/appium/performanceData/types': {
|
|
169
|
+
readonly POST: {
|
|
170
|
+
readonly command: "getPerformanceDataTypes";
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
readonly '/session/:sessionId/appium/getPerformanceData': {
|
|
174
|
+
readonly POST: {
|
|
175
|
+
readonly command: "getPerformanceData";
|
|
176
|
+
readonly payloadParams: {
|
|
177
|
+
readonly required: readonly ["packageName", "dataType"];
|
|
178
|
+
readonly optional: readonly ["dataReadTimeout"];
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
readonly '/session/:sessionId/appium/device/press_keycode': {
|
|
183
|
+
readonly POST: {
|
|
184
|
+
readonly command: "pressKeyCode";
|
|
185
|
+
readonly payloadParams: {
|
|
186
|
+
readonly required: readonly ["keycode"];
|
|
187
|
+
readonly optional: readonly ["metastate", "flags"];
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
readonly '/session/:sessionId/appium/device/long_press_keycode': {
|
|
192
|
+
readonly POST: {
|
|
193
|
+
readonly command: "longPressKeyCode";
|
|
194
|
+
readonly payloadParams: {
|
|
195
|
+
readonly required: readonly ["keycode"];
|
|
196
|
+
readonly optional: readonly ["metastate", "flags"];
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
readonly '/session/:sessionId/appium/device/finger_print': {
|
|
201
|
+
readonly POST: {
|
|
202
|
+
readonly command: "fingerprint";
|
|
203
|
+
readonly payloadParams: {
|
|
204
|
+
readonly required: readonly ["fingerprintId"];
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
readonly '/session/:sessionId/appium/device/send_sms': {
|
|
209
|
+
readonly POST: {
|
|
210
|
+
readonly command: "sendSMS";
|
|
211
|
+
readonly payloadParams: {
|
|
212
|
+
readonly required: readonly ["phoneNumber", "message"];
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
readonly '/session/:sessionId/appium/device/gsm_call': {
|
|
217
|
+
readonly POST: {
|
|
218
|
+
readonly command: "gsmCall";
|
|
219
|
+
readonly payloadParams: {
|
|
220
|
+
readonly required: readonly ["phoneNumber", "action"];
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
readonly '/session/:sessionId/appium/device/gsm_signal': {
|
|
225
|
+
readonly POST: {
|
|
226
|
+
readonly command: "gsmSignal";
|
|
227
|
+
readonly payloadParams: {
|
|
228
|
+
readonly required: readonly ["signalStrength"];
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
readonly '/session/:sessionId/appium/device/gsm_voice': {
|
|
233
|
+
readonly POST: {
|
|
234
|
+
readonly command: "gsmVoice";
|
|
235
|
+
readonly payloadParams: {
|
|
236
|
+
readonly required: readonly ["state"];
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
readonly '/session/:sessionId/appium/device/power_capacity': {
|
|
241
|
+
readonly POST: {
|
|
242
|
+
readonly command: "powerCapacity";
|
|
243
|
+
readonly payloadParams: {
|
|
244
|
+
readonly required: readonly ["percent"];
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
readonly '/session/:sessionId/appium/device/power_ac': {
|
|
249
|
+
readonly POST: {
|
|
250
|
+
readonly command: "powerAC";
|
|
251
|
+
readonly payloadParams: {
|
|
252
|
+
readonly required: readonly ["state"];
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
readonly '/session/:sessionId/appium/device/network_speed': {
|
|
257
|
+
readonly POST: {
|
|
258
|
+
readonly command: "networkSpeed";
|
|
259
|
+
readonly payloadParams: {
|
|
260
|
+
readonly required: readonly ["netspeed"];
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
readonly '/session/:sessionId/appium/device/keyevent': {
|
|
265
|
+
readonly POST: {
|
|
266
|
+
readonly command: "keyevent";
|
|
267
|
+
readonly payloadParams: {
|
|
268
|
+
readonly required: readonly ["keycode"];
|
|
269
|
+
readonly optional: readonly ["metastate"];
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
readonly '/session/:sessionId/appium/device/current_activity': {
|
|
274
|
+
readonly GET: {
|
|
275
|
+
readonly command: "getCurrentActivity";
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
readonly '/session/:sessionId/appium/device/current_package': {
|
|
279
|
+
readonly GET: {
|
|
280
|
+
readonly command: "getCurrentPackage";
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
readonly '/session/:sessionId/appium/device/app_state': {
|
|
284
|
+
readonly POST: {
|
|
285
|
+
readonly command: "queryAppState";
|
|
286
|
+
readonly payloadParams: {
|
|
287
|
+
readonly required: readonly [readonly ["appId"], readonly ["bundleId"]];
|
|
288
|
+
};
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
readonly '/session/:sessionId/appium/device/toggle_airplane_mode': {
|
|
292
|
+
readonly POST: {
|
|
293
|
+
readonly command: "toggleFlightMode";
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
readonly '/session/:sessionId/appium/device/toggle_data': {
|
|
297
|
+
readonly POST: {
|
|
298
|
+
readonly command: "toggleData";
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
readonly '/session/:sessionId/appium/device/toggle_wifi': {
|
|
302
|
+
readonly POST: {
|
|
303
|
+
readonly command: "toggleWiFi";
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
readonly '/session/:sessionId/appium/device/toggle_location_services': {
|
|
307
|
+
readonly POST: {
|
|
308
|
+
readonly command: "toggleLocationServices";
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
readonly '/session/:sessionId/appium/device/open_notifications': {
|
|
312
|
+
readonly POST: {
|
|
313
|
+
readonly command: "openNotifications";
|
|
314
|
+
};
|
|
315
|
+
};
|
|
316
|
+
readonly '/session/:sessionId/appium/device/start_activity': {
|
|
317
|
+
readonly POST: {
|
|
318
|
+
readonly command: "startActivity";
|
|
319
|
+
readonly payloadParams: {
|
|
320
|
+
readonly required: readonly ["appPackage", "appActivity"];
|
|
321
|
+
readonly optional: readonly ["appWaitPackage", "appWaitActivity", "intentAction", "intentCategory", "intentFlags", "optionalIntentArguments", "dontStopAppOnReset"];
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
readonly '/session/:sessionId/appium/device/system_bars': {
|
|
326
|
+
readonly GET: {
|
|
327
|
+
readonly command: "getSystemBars";
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
readonly '/session/:sessionId/appium/device/display_density': {
|
|
331
|
+
readonly GET: {
|
|
332
|
+
readonly command: "getDisplayDensity";
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
readonly '/session/:sessionId/appium/app/launch': {
|
|
336
|
+
readonly POST: {
|
|
337
|
+
readonly command: "launchApp";
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
readonly '/session/:sessionId/appium/app/close': {
|
|
341
|
+
readonly POST: {
|
|
342
|
+
readonly command: "closeApp";
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
readonly '/session/:sessionId/appium/app/reset': {
|
|
346
|
+
readonly POST: {
|
|
347
|
+
readonly command: "reset";
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
readonly '/session/:sessionId/appium/app/background': {
|
|
351
|
+
readonly POST: {
|
|
352
|
+
readonly command: "background";
|
|
353
|
+
readonly payloadParams: {
|
|
354
|
+
readonly required: readonly ["seconds"];
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
readonly '/session/:sessionId/appium/app/end_test_coverage': {
|
|
359
|
+
readonly POST: {
|
|
360
|
+
readonly command: "endCoverage";
|
|
361
|
+
readonly payloadParams: {
|
|
362
|
+
readonly required: readonly ["intent", "path"];
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
readonly '/session/:sessionId/appium/app/strings': {
|
|
367
|
+
readonly POST: {
|
|
368
|
+
readonly command: "getStrings";
|
|
369
|
+
readonly payloadParams: {
|
|
370
|
+
readonly optional: readonly ["language", "stringFile"];
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
readonly '/session/:sessionId/appium/element/:elementId/value': {
|
|
375
|
+
readonly POST: {
|
|
376
|
+
readonly command: "setValueImmediate";
|
|
377
|
+
readonly payloadParams: {
|
|
378
|
+
readonly required: readonly ["text"];
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
readonly '/session/:sessionId/appium/element/:elementId/replace_value': {
|
|
383
|
+
readonly POST: {
|
|
384
|
+
readonly command: "replaceValue";
|
|
385
|
+
readonly payloadParams: {
|
|
386
|
+
readonly required: readonly ["text"];
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
constructor(opts?: {}, shouldValidateCaps?: boolean);
|
|
392
|
+
desiredCapConstraints: {};
|
|
393
|
+
sessionChromedrivers: {};
|
|
394
|
+
jwpProxyActive: boolean;
|
|
395
|
+
jwpProxyAvoid: (string | RegExp)[][];
|
|
396
|
+
settings: DeviceSettings<{
|
|
397
|
+
ignoreUnimportantViews: boolean;
|
|
398
|
+
}>;
|
|
399
|
+
chromedriver: any;
|
|
400
|
+
apkStrings: {};
|
|
401
|
+
unlocker: typeof import("./unlock-helpers").helpers;
|
|
402
|
+
curContext: any;
|
|
403
|
+
createSession(...args: any[]): Promise<(string | import("@appium/types").DriverCaps<any>)[]>;
|
|
404
|
+
useUnlockHelperApp: boolean | undefined;
|
|
405
|
+
adb: any;
|
|
406
|
+
isEmulator(): boolean;
|
|
407
|
+
setAvdFromCapabilities(caps: any): void;
|
|
408
|
+
get appOnDevice(): boolean;
|
|
409
|
+
get isChromeSession(): boolean;
|
|
410
|
+
onSettingsUpdate(key: any, value: any): Promise<void>;
|
|
411
|
+
startAndroidSession(): Promise<void>;
|
|
412
|
+
defaultIME: any;
|
|
413
|
+
_wasWindowAnimationDisabled: boolean | undefined;
|
|
414
|
+
bootstrap: import("./bootstrap").AndroidBootstrap | null | undefined;
|
|
415
|
+
initAutoWebview(): Promise<void>;
|
|
416
|
+
initAUT(): Promise<void>;
|
|
417
|
+
checkAppPresent(): Promise<void>;
|
|
418
|
+
checkPackagePresent(): Promise<void>;
|
|
419
|
+
setCompressedLayoutHierarchy(compress: any): Promise<void>;
|
|
420
|
+
deleteSession(): Promise<void>;
|
|
421
|
+
setSharedPreferences(): Promise<boolean>;
|
|
422
|
+
getPrefsBuilder(): any;
|
|
423
|
+
validateDesiredCaps(caps: any): boolean;
|
|
424
|
+
proxyActive(sessionId: any): boolean;
|
|
425
|
+
getProxyAvoidList(sessionId: any): (string | RegExp)[][];
|
|
426
|
+
canProxy(sessionId: any): boolean;
|
|
427
|
+
}
|
|
428
|
+
import { BaseDriver } from 'appium/driver';
|
|
429
|
+
import { DeviceSettings } from 'appium/driver';
|
|
430
|
+
//# sourceMappingURL=driver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../lib/driver.js"],"names":[],"mappings":";AAmCA;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAmC;IAEnC,qDA0BC;IAhBC,0BAA+C;IAC/C,yBAA8B;IAC9B,wBAA2B;IAC3B,qCAAsC;IACtC;;OACoE;IACpE,kBAAwB;IACxB,eAAoB;IACpB,oDAAgC;IAOhC,gBAA2C;IAG7C,6FAkIC;IA/FG,wCAA6D;IA8B7D,SASE;IA0DN,sBAEC;IAED,wCAaC;IAED,2BAGC;IAED,+BAEC;IAED,sDAIC;IAED,qCA6EC;IA1EC,gBAA+D;IAoB3D,iDAAuC;IAU3C,qEAA8F;IA8ChG,iCAYC;IAED,yBAwDC;IAED,iCAKC;IAED,qCAKC;IAGD,2DAEC;IAED,+BAwDC;IAED,yCA4BC;IAED,uBAKC;IAED,wCAQC;IAED,qCAIC;IAED,yDAIC;IAED,kCAKC;CACF;2BA9gB0C,eAAe;+BAAf,eAAe"}
|