appium-android-driver 6.0.0 → 7.0.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 (112) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +3 -105
  3. package/build/lib/commands/actions.d.ts +0 -1
  4. package/build/lib/commands/actions.d.ts.map +1 -1
  5. package/build/lib/commands/actions.js +14 -139
  6. package/build/lib/commands/actions.js.map +1 -1
  7. package/build/lib/commands/context.d.ts.map +1 -1
  8. package/build/lib/commands/context.js +0 -1
  9. package/build/lib/commands/context.js.map +1 -1
  10. package/build/lib/commands/element.d.ts +0 -1
  11. package/build/lib/commands/element.d.ts.map +1 -1
  12. package/build/lib/commands/element.js +14 -48
  13. package/build/lib/commands/element.js.map +1 -1
  14. package/build/lib/commands/execute.d.ts.map +1 -1
  15. package/build/lib/commands/execute.js +0 -1
  16. package/build/lib/commands/execute.js.map +1 -1
  17. package/build/lib/commands/find.d.ts.map +1 -1
  18. package/build/lib/commands/find.js +1 -1
  19. package/build/lib/commands/find.js.map +1 -1
  20. package/build/lib/commands/general.d.ts +0 -1
  21. package/build/lib/commands/general.d.ts.map +1 -1
  22. package/build/lib/commands/general.js +6 -11
  23. package/build/lib/commands/general.js.map +1 -1
  24. package/build/lib/commands/index.d.ts +23 -23
  25. package/build/lib/commands/mixins.d.ts +2 -6
  26. package/build/lib/commands/mixins.d.ts.map +1 -1
  27. package/build/lib/commands/mixins.js.map +1 -1
  28. package/build/lib/commands/network.d.ts.map +1 -1
  29. package/build/lib/commands/network.js +27 -55
  30. package/build/lib/commands/network.js.map +1 -1
  31. package/build/lib/commands/performance.d.ts +4 -4
  32. package/build/lib/commands/performance.d.ts.map +1 -1
  33. package/build/lib/commands/performance.js +0 -4
  34. package/build/lib/commands/performance.js.map +1 -1
  35. package/build/lib/commands/touch.d.ts +0 -1
  36. package/build/lib/commands/touch.d.ts.map +1 -1
  37. package/build/lib/commands/touch.js +1 -15
  38. package/build/lib/commands/touch.js.map +1 -1
  39. package/build/lib/constraints.d.ts +0 -9
  40. package/build/lib/constraints.d.ts.map +1 -1
  41. package/build/lib/constraints.js +0 -9
  42. package/build/lib/constraints.js.map +1 -1
  43. package/build/lib/driver.d.ts +2 -50
  44. package/build/lib/driver.d.ts.map +1 -1
  45. package/build/lib/driver.js +1 -476
  46. package/build/lib/driver.js.map +1 -1
  47. package/build/lib/helpers/android.d.ts +0 -2
  48. package/build/lib/helpers/android.d.ts.map +1 -1
  49. package/build/lib/helpers/android.js +0 -2
  50. package/build/lib/helpers/android.js.map +1 -1
  51. package/build/lib/helpers/webview.js.map +1 -1
  52. package/build/lib/stubs.d.ts +0 -1
  53. package/build/lib/stubs.d.ts.map +1 -1
  54. package/build/lib/stubs.js +0 -1
  55. package/build/lib/stubs.js.map +1 -1
  56. package/build/lib/utils.d.ts +3 -4
  57. package/build/lib/utils.d.ts.map +1 -1
  58. package/build/lib/utils.js +3 -4
  59. package/build/lib/utils.js.map +1 -1
  60. package/lib/commands/actions.js +15 -163
  61. package/lib/commands/context.js +0 -1
  62. package/lib/commands/element.js +14 -68
  63. package/lib/commands/execute.js +0 -1
  64. package/lib/commands/find.ts +1 -2
  65. package/lib/commands/general.js +6 -11
  66. package/lib/commands/mixins.ts +0 -6
  67. package/lib/commands/network.js +28 -61
  68. package/lib/commands/performance.js +0 -4
  69. package/lib/commands/touch.js +1 -20
  70. package/lib/constraints.ts +0 -9
  71. package/lib/driver.ts +7 -595
  72. package/lib/helpers/android.ts +0 -4
  73. package/lib/helpers/webview.ts +1 -1
  74. package/lib/stubs.ts +0 -1
  75. package/lib/utils.js +4 -5
  76. package/package.json +2 -5
  77. package/bootstrap/README.md +0 -19
  78. package/bootstrap/bin/AppiumBootstrap.jar +0 -0
  79. package/build/index.d.ts +0 -282
  80. package/build/index.d.ts.map +0 -1
  81. package/build/index.js +0 -51
  82. package/build/index.js.map +0 -1
  83. package/build/lib/android-helpers.d.ts +0 -136
  84. package/build/lib/android-helpers.d.ts.map +0 -1
  85. package/build/lib/android-helpers.js +0 -855
  86. package/build/lib/android-helpers.js.map +0 -1
  87. package/build/lib/bootstrap.d.ts +0 -29
  88. package/build/lib/bootstrap.d.ts.map +0 -1
  89. package/build/lib/bootstrap.js +0 -213
  90. package/build/lib/bootstrap.js.map +0 -1
  91. package/build/lib/commands/coverage.d.ts +0 -5
  92. package/build/lib/commands/coverage.d.ts.map +0 -1
  93. package/build/lib/commands/coverage.js +0 -19
  94. package/build/lib/commands/coverage.js.map +0 -1
  95. package/build/lib/desired-caps.d.ts +0 -353
  96. package/build/lib/desired-caps.d.ts.map +0 -1
  97. package/build/lib/desired-caps.js +0 -299
  98. package/build/lib/desired-caps.js.map +0 -1
  99. package/build/lib/uiautomator.d.ts +0 -24
  100. package/build/lib/uiautomator.d.ts.map +0 -1
  101. package/build/lib/uiautomator.js +0 -102
  102. package/build/lib/uiautomator.js.map +0 -1
  103. package/build/lib/unlock-helpers.d.ts +0 -38
  104. package/build/lib/unlock-helpers.d.ts.map +0 -1
  105. package/build/lib/unlock-helpers.js +0 -266
  106. package/build/lib/unlock-helpers.js.map +0 -1
  107. package/build/lib/webview-helpers.d.ts +0 -224
  108. package/build/lib/webview-helpers.d.ts.map +0 -1
  109. package/build/lib/webview-helpers.js +0 -528
  110. package/build/lib/webview-helpers.js.map +0 -1
  111. package/lib/bootstrap.js +0 -227
  112. package/lib/uiautomator.js +0 -109
@@ -1,353 +0,0 @@
1
- export default desiredCapConstraints;
2
- declare let desiredCapConstraints: {};
3
- export namespace commonCapConstraints {
4
- namespace platformName {
5
- let isString: boolean;
6
- let inclusionCaseInsensitive: string[];
7
- let presence: boolean;
8
- }
9
- namespace app {
10
- let isString_1: boolean;
11
- export { isString_1 as isString };
12
- }
13
- namespace appActivity {
14
- let isString_2: boolean;
15
- export { isString_2 as isString };
16
- }
17
- namespace appPackage {
18
- let isString_3: boolean;
19
- export { isString_3 as isString };
20
- }
21
- namespace appWaitActivity {
22
- let isString_4: boolean;
23
- export { isString_4 as isString };
24
- }
25
- namespace appWaitPackage {
26
- let isString_5: boolean;
27
- export { isString_5 as isString };
28
- }
29
- namespace appWaitDuration {
30
- let isNumber: boolean;
31
- }
32
- namespace deviceReadyTimeout {
33
- let isNumber_1: boolean;
34
- export { isNumber_1 as isNumber };
35
- }
36
- namespace androidCoverage {
37
- let isString_6: boolean;
38
- export { isString_6 as isString };
39
- }
40
- namespace androidDeviceReadyTimeout {
41
- let isNumber_2: boolean;
42
- export { isNumber_2 as isNumber };
43
- }
44
- namespace androidDeviceSocket {
45
- let isString_7: boolean;
46
- export { isString_7 as isString };
47
- }
48
- namespace androidInstallTimeout {
49
- let isNumber_3: boolean;
50
- export { isNumber_3 as isNumber };
51
- }
52
- namespace adbPort {
53
- let isNumber_4: boolean;
54
- export { isNumber_4 as isNumber };
55
- }
56
- namespace remoteAdbHost {
57
- let isString_8: boolean;
58
- export { isString_8 as isString };
59
- }
60
- namespace adbExecTimeout {
61
- let isNumber_5: boolean;
62
- export { isNumber_5 as isNumber };
63
- }
64
- namespace avd {
65
- let isString_9: boolean;
66
- export { isString_9 as isString };
67
- }
68
- namespace avdLaunchTimeout {
69
- let isNumber_6: boolean;
70
- export { isNumber_6 as isNumber };
71
- }
72
- namespace avdReadyTimeout {
73
- let isNumber_7: boolean;
74
- export { isNumber_7 as isNumber };
75
- }
76
- let avdArgs: {};
77
- namespace avdEnv {
78
- let isObject: boolean;
79
- }
80
- namespace useKeystore {
81
- let isBoolean: boolean;
82
- }
83
- namespace keystorePath {
84
- let isString_10: boolean;
85
- export { isString_10 as isString };
86
- }
87
- namespace keystorePassword {
88
- let isString_11: boolean;
89
- export { isString_11 as isString };
90
- }
91
- namespace keyAlias {
92
- let isString_12: boolean;
93
- export { isString_12 as isString };
94
- }
95
- namespace keyPassword {
96
- let isString_13: boolean;
97
- export { isString_13 as isString };
98
- }
99
- namespace webviewDevtoolsPort {
100
- let isNumber_8: boolean;
101
- export { isNumber_8 as isNumber };
102
- }
103
- namespace ensureWebviewsHavePages {
104
- let isBoolean_1: boolean;
105
- export { isBoolean_1 as isBoolean };
106
- }
107
- namespace enableWebviewDetailsCollection {
108
- let isBoolean_2: boolean;
109
- export { isBoolean_2 as isBoolean };
110
- }
111
- namespace chromeDriverPort {
112
- let isNumber_9: boolean;
113
- export { isNumber_9 as isNumber };
114
- }
115
- namespace chromedriverPort {
116
- let isNumber_10: boolean;
117
- export { isNumber_10 as isNumber };
118
- }
119
- namespace chromedriverPorts {
120
- let isArray: boolean;
121
- }
122
- namespace chromedriverArgs {
123
- let isObject_1: boolean;
124
- export { isObject_1 as isObject };
125
- }
126
- namespace chromedriverExecutable {
127
- let isString_14: boolean;
128
- export { isString_14 as isString };
129
- }
130
- namespace chromedriverExecutableDir {
131
- let isString_15: boolean;
132
- export { isString_15 as isString };
133
- }
134
- namespace chromedriverChromeMappingFile {
135
- let isString_16: boolean;
136
- export { isString_16 as isString };
137
- }
138
- namespace chromedriverUseSystemExecutable {
139
- let isBoolean_3: boolean;
140
- export { isBoolean_3 as isBoolean };
141
- }
142
- namespace chromedriverDisableBuildCheck {
143
- let isBoolean_4: boolean;
144
- export { isBoolean_4 as isBoolean };
145
- }
146
- namespace chromeLoggingPrefs {
147
- let isObject_2: boolean;
148
- export { isObject_2 as isObject };
149
- }
150
- namespace autoWebviewTimeout {
151
- let isNumber_11: boolean;
152
- export { isNumber_11 as isNumber };
153
- }
154
- namespace autoWebviewName {
155
- let isString_17: boolean;
156
- export { isString_17 as isString };
157
- }
158
- namespace intentAction {
159
- let isString_18: boolean;
160
- export { isString_18 as isString };
161
- }
162
- namespace intentCategory {
163
- let isString_19: boolean;
164
- export { isString_19 as isString };
165
- }
166
- namespace intentFlags {
167
- let isString_20: boolean;
168
- export { isString_20 as isString };
169
- }
170
- namespace optionalIntentArguments {
171
- let isString_21: boolean;
172
- export { isString_21 as isString };
173
- }
174
- namespace dontStopAppOnReset {
175
- let isBoolean_5: boolean;
176
- export { isBoolean_5 as isBoolean };
177
- }
178
- namespace unicodeKeyboard {
179
- let isBoolean_6: boolean;
180
- export { isBoolean_6 as isBoolean };
181
- }
182
- namespace resetKeyboard {
183
- let isBoolean_7: boolean;
184
- export { isBoolean_7 as isBoolean };
185
- }
186
- namespace noSign {
187
- let isBoolean_8: boolean;
188
- export { isBoolean_8 as isBoolean };
189
- }
190
- namespace recreateChromeDriverSessions {
191
- let isBoolean_9: boolean;
192
- export { isBoolean_9 as isBoolean };
193
- }
194
- namespace autoLaunch {
195
- let isBoolean_10: boolean;
196
- export { isBoolean_10 as isBoolean };
197
- }
198
- namespace nativeWebScreenshot {
199
- let isBoolean_11: boolean;
200
- export { isBoolean_11 as isBoolean };
201
- }
202
- namespace androidScreenshotPath {
203
- let isString_22: boolean;
204
- export { isString_22 as isString };
205
- }
206
- namespace androidInstallPath {
207
- let isString_23: boolean;
208
- export { isString_23 as isString };
209
- }
210
- namespace clearSystemFiles {
211
- let isBoolean_12: boolean;
212
- export { isBoolean_12 as isBoolean };
213
- }
214
- namespace extractChromeAndroidPackageFromContextName {
215
- let isBoolean_13: boolean;
216
- export { isBoolean_13 as isBoolean };
217
- }
218
- namespace autoGrantPermissions {
219
- let isBoolean_14: boolean;
220
- export { isBoolean_14 as isBoolean };
221
- }
222
- namespace sharedPreferences {
223
- let isObject_3: boolean;
224
- export { isObject_3 as isObject };
225
- }
226
- namespace networkSpeed {
227
- let isString_24: boolean;
228
- export { isString_24 as isString };
229
- }
230
- namespace gpsEnabled {
231
- let isBoolean_15: boolean;
232
- export { isBoolean_15 as isBoolean };
233
- }
234
- namespace isHeadless {
235
- let isBoolean_16: boolean;
236
- export { isBoolean_16 as isBoolean };
237
- }
238
- namespace showChromedriverLog {
239
- let isBoolean_17: boolean;
240
- export { isBoolean_17 as isBoolean };
241
- }
242
- namespace skipUnlock {
243
- let isBoolean_18: boolean;
244
- export { isBoolean_18 as isBoolean };
245
- }
246
- namespace clearDeviceLogsOnStart {
247
- let isBoolean_19: boolean;
248
- export { isBoolean_19 as isBoolean };
249
- }
250
- namespace unlockType {
251
- let isString_25: boolean;
252
- export { isString_25 as isString };
253
- }
254
- namespace unlockKey {
255
- let isString_26: boolean;
256
- export { isString_26 as isString };
257
- }
258
- namespace unlockStrategy {
259
- let isString_27: boolean;
260
- export { isString_27 as isString };
261
- let inclusionCaseInsensitive_1: string[];
262
- export { inclusionCaseInsensitive_1 as inclusionCaseInsensitive };
263
- }
264
- namespace otherApps {
265
- let isString_28: boolean;
266
- export { isString_28 as isString };
267
- }
268
- namespace uninstallOtherPackages {
269
- let isString_29: boolean;
270
- export { isString_29 as isString };
271
- }
272
- namespace allowTestPackages {
273
- let isBoolean_20: boolean;
274
- export { isBoolean_20 as isBoolean };
275
- }
276
- namespace pageLoadStrategy {
277
- let isString_30: boolean;
278
- export { isString_30 as isString };
279
- }
280
- namespace localeScript {
281
- let isString_31: boolean;
282
- export { isString_31 as isString };
283
- }
284
- namespace skipDeviceInitialization {
285
- let isBoolean_21: boolean;
286
- export { isBoolean_21 as isBoolean };
287
- }
288
- namespace remoteAppsCacheLimit {
289
- let isNumber_12: boolean;
290
- export { isNumber_12 as isNumber };
291
- }
292
- namespace buildToolsVersion {
293
- let isString_32: boolean;
294
- export { isString_32 as isString };
295
- }
296
- namespace skipLogcatCapture {
297
- let isBoolean_22: boolean;
298
- export { isBoolean_22 as isBoolean };
299
- }
300
- namespace chromeOptions {
301
- let isObject_4: boolean;
302
- export { isObject_4 as isObject };
303
- }
304
- namespace enablePerformanceLogging {
305
- let isBoolean_23: boolean;
306
- export { isBoolean_23 as isBoolean };
307
- }
308
- namespace userProfile {
309
- let isNumber_13: boolean;
310
- export { isNumber_13 as isNumber };
311
- }
312
- namespace browserName {
313
- let isString_33: boolean;
314
- export { isString_33 as isString };
315
- }
316
- namespace enforceAppInstall {
317
- let isBoolean_24: boolean;
318
- export { isBoolean_24 as isBoolean };
319
- }
320
- namespace suppressKillServer {
321
- let isBoolean_25: boolean;
322
- export { isBoolean_25 as isBoolean };
323
- }
324
- namespace allowOfflineDevices {
325
- let isBoolean_26: boolean;
326
- export { isBoolean_26 as isBoolean };
327
- }
328
- namespace ignoreHiddenApiPolicyError {
329
- let isBoolean_27: boolean;
330
- export { isBoolean_27 as isBoolean };
331
- }
332
- namespace unlockSuccessTimeout {
333
- let isNumber_14: boolean;
334
- export { isNumber_14 as isNumber };
335
- }
336
- namespace mockLocationApp {
337
- let isString_34: boolean;
338
- export { isString_34 as isString };
339
- }
340
- namespace logcatFormat {
341
- let isString_35: boolean;
342
- export { isString_35 as isString };
343
- }
344
- namespace logcatFilterSpecs {
345
- let isArray_1: boolean;
346
- export { isArray_1 as isArray };
347
- }
348
- namespace allowDelayAdb {
349
- let isBoolean_28: boolean;
350
- export { isBoolean_28 as isBoolean };
351
- }
352
- }
353
- //# sourceMappingURL=desired-caps.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"desired-caps.d.ts","sourceRoot":"","sources":["../../lib/desired-caps.js"],"names":[],"mappings":";AAqSA,sCAA+B"}
@@ -1,299 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.commonCapConstraints = void 0;
4
- let commonCapConstraints = {
5
- platformName: {
6
- isString: true,
7
- inclusionCaseInsensitive: ['Android'],
8
- presence: true
9
- },
10
- app: {
11
- isString: true
12
- },
13
- appActivity: {
14
- isString: true
15
- },
16
- appPackage: {
17
- isString: true
18
- },
19
- appWaitActivity: {
20
- isString: true
21
- },
22
- appWaitPackage: {
23
- isString: true
24
- },
25
- appWaitDuration: {
26
- isNumber: true
27
- },
28
- deviceReadyTimeout: {
29
- isNumber: true
30
- },
31
- androidCoverage: {
32
- isString: true
33
- },
34
- androidDeviceReadyTimeout: {
35
- isNumber: true
36
- },
37
- androidDeviceSocket: {
38
- isString: true
39
- },
40
- androidInstallTimeout: {
41
- isNumber: true
42
- },
43
- adbPort: {
44
- isNumber: true
45
- },
46
- remoteAdbHost: {
47
- isString: true
48
- },
49
- adbExecTimeout: {
50
- isNumber: true
51
- },
52
- avd: {
53
- isString: true
54
- },
55
- avdLaunchTimeout: {
56
- isNumber: true
57
- },
58
- avdReadyTimeout: {
59
- isNumber: true
60
- },
61
- avdArgs: {
62
- // could be a string or an array
63
- },
64
- avdEnv: {
65
- isObject: true
66
- },
67
- useKeystore: {
68
- isBoolean: true
69
- },
70
- keystorePath: {
71
- isString: true
72
- },
73
- keystorePassword: {
74
- isString: true
75
- },
76
- keyAlias: {
77
- isString: true
78
- },
79
- keyPassword: {
80
- isString: true
81
- },
82
- webviewDevtoolsPort: {
83
- isNumber: true
84
- },
85
- ensureWebviewsHavePages: {
86
- isBoolean: true
87
- },
88
- enableWebviewDetailsCollection: {
89
- isBoolean: true
90
- },
91
- // this one is deprecated
92
- chromeDriverPort: {
93
- isNumber: true
94
- },
95
- // duplicate of above with better spelling
96
- chromedriverPort: {
97
- isNumber: true
98
- },
99
- chromedriverPorts: {
100
- isArray: true
101
- },
102
- chromedriverArgs: {
103
- isObject: true,
104
- },
105
- chromedriverExecutable: {
106
- isString: true
107
- },
108
- chromedriverExecutableDir: {
109
- isString: true
110
- },
111
- chromedriverChromeMappingFile: {
112
- isString: true
113
- },
114
- chromedriverUseSystemExecutable: {
115
- isBoolean: true
116
- },
117
- chromedriverDisableBuildCheck: {
118
- isBoolean: true
119
- },
120
- chromeLoggingPrefs: {
121
- isObject: true
122
- },
123
- autoWebviewTimeout: {
124
- isNumber: true
125
- },
126
- autoWebviewName: {
127
- isString: true
128
- },
129
- intentAction: {
130
- isString: true
131
- },
132
- intentCategory: {
133
- isString: true
134
- },
135
- intentFlags: {
136
- isString: true
137
- },
138
- optionalIntentArguments: {
139
- isString: true
140
- },
141
- dontStopAppOnReset: {
142
- isBoolean: true
143
- },
144
- unicodeKeyboard: {
145
- isBoolean: true
146
- },
147
- resetKeyboard: {
148
- isBoolean: true
149
- },
150
- noSign: {
151
- isBoolean: true
152
- },
153
- recreateChromeDriverSessions: {
154
- isBoolean: false
155
- },
156
- autoLaunch: {
157
- isBoolean: true
158
- },
159
- nativeWebScreenshot: {
160
- isBoolean: true
161
- },
162
- androidScreenshotPath: {
163
- isString: true
164
- },
165
- androidInstallPath: {
166
- isString: true
167
- },
168
- clearSystemFiles: {
169
- isBoolean: true
170
- },
171
- extractChromeAndroidPackageFromContextName: {
172
- isBoolean: true
173
- },
174
- autoGrantPermissions: {
175
- isBoolean: true
176
- },
177
- sharedPreferences: {
178
- isObject: true
179
- },
180
- networkSpeed: {
181
- isString: true
182
- },
183
- gpsEnabled: {
184
- isBoolean: true
185
- },
186
- isHeadless: {
187
- isBoolean: true
188
- },
189
- showChromedriverLog: {
190
- isBoolean: true
191
- },
192
- skipUnlock: {
193
- isBoolean: true
194
- },
195
- clearDeviceLogsOnStart: {
196
- isBoolean: true
197
- },
198
- unlockType: {
199
- isString: true
200
- },
201
- unlockKey: {
202
- isString: true
203
- },
204
- unlockStrategy: {
205
- isString: true,
206
- inclusionCaseInsensitive: ['locksettings', 'uiautomator'],
207
- },
208
- otherApps: {
209
- isString: true
210
- },
211
- uninstallOtherPackages: {
212
- isString: true
213
- },
214
- allowTestPackages: {
215
- isBoolean: true
216
- },
217
- pageLoadStrategy: {
218
- isString: true
219
- },
220
- localeScript: {
221
- isString: true
222
- },
223
- skipDeviceInitialization: {
224
- isBoolean: true
225
- },
226
- remoteAppsCacheLimit: {
227
- isNumber: true
228
- },
229
- buildToolsVersion: {
230
- isString: true
231
- },
232
- skipLogcatCapture: {
233
- isBoolean: true
234
- },
235
- chromeOptions: {
236
- isObject: true
237
- },
238
- enablePerformanceLogging: {
239
- isBoolean: true
240
- },
241
- userProfile: {
242
- isNumber: true
243
- },
244
- browserName: {
245
- isString: true
246
- },
247
- enforceAppInstall: {
248
- isBoolean: true
249
- },
250
- suppressKillServer: {
251
- isBoolean: true
252
- },
253
- allowOfflineDevices: {
254
- isBoolean: true
255
- },
256
- ignoreHiddenApiPolicyError: {
257
- isBoolean: true
258
- },
259
- unlockSuccessTimeout: {
260
- isNumber: true
261
- },
262
- mockLocationApp: {
263
- isString: true
264
- },
265
- logcatFormat: {
266
- isString: true
267
- },
268
- logcatFilterSpecs: {
269
- isArray: true
270
- },
271
- allowDelayAdb: {
272
- isBoolean: true
273
- }
274
- };
275
- exports.commonCapConstraints = commonCapConstraints;
276
- let uiautomatorCapConstraints = {
277
- ignoreUnimportantViews: {
278
- isBoolean: true
279
- },
280
- disableAndroidWatchers: {
281
- isBoolean: true
282
- },
283
- acceptSslCerts: {
284
- isBoolean: true
285
- },
286
- androidNaturalOrientation: {
287
- isBoolean: true
288
- },
289
- disableWindowAnimation: {
290
- isBoolean: true
291
- },
292
- bootstrapPort: {
293
- isNumber: true
294
- },
295
- };
296
- let desiredCapConstraints = {};
297
- Object.assign(desiredCapConstraints, commonCapConstraints, uiautomatorCapConstraints);
298
- exports.default = desiredCapConstraints;
299
- //# sourceMappingURL=desired-caps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"desired-caps.js","sourceRoot":"","sources":["../../lib/desired-caps.js"],"names":[],"mappings":";;;AAAA,IAAI,oBAAoB,GAAG;IACzB,YAAY,EAAE;QACZ,QAAQ,EAAE,IAAI;QACd,wBAAwB,EAAE,CAAC,SAAS,CAAC;QACrC,QAAQ,EAAE,IAAI;KACf;IACD,GAAG,EAAE;QACH,QAAQ,EAAE,IAAI;KACf;IACD,WAAW,EAAE;QACX,QAAQ,EAAE,IAAI;KACf;IACD,UAAU,EAAE;QACV,QAAQ,EAAE,IAAI;KACf;IACD,eAAe,EAAE;QACf,QAAQ,EAAE,IAAI;KACf;IACD,cAAc,EAAE;QACd,QAAQ,EAAE,IAAI;KACf;IACD,eAAe,EAAE;QACf,QAAQ,EAAE,IAAI;KACf;IACD,kBAAkB,EAAE;QAClB,QAAQ,EAAE,IAAI;KACf;IACD,eAAe,EAAE;QACf,QAAQ,EAAE,IAAI;KACf;IACD,yBAAyB,EAAE;QACzB,QAAQ,EAAE,IAAI;KACf;IACD,mBAAmB,EAAE;QACnB,QAAQ,EAAE,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;QACjB,OAAO,EAAE,IAAI;KACd;IACD,aAAa,EAAE;QACb,SAAS,EAAE,IAAI;KAChB;CACF,CAAC;AA6BO,oDAAoB;AA3B7B,IAAI,yBAAyB,GAAG;IAC9B,sBAAsB,EAAE;QACtB,SAAS,EAAE,IAAI;KAChB;IACD,sBAAsB,EAAE;QACtB,SAAS,EAAE,IAAI;KAChB;IACD,cAAc,EAAE;QACd,SAAS,EAAE,IAAI;KAChB;IACD,yBAAyB,EAAE;QACzB,SAAS,EAAE,IAAI;KAChB;IACD,sBAAsB,EAAE;QACtB,SAAS,EAAE,IAAI;KAChB;IACD,aAAa,EAAE;QACb,QAAQ,EAAE,IAAI;KACf;CACF,CAAC;AAEF,IAAI,qBAAqB,GAAG,EAAE,CAAC;AAE/B,MAAM,CAAC,MAAM,CAAC,qBAAqB,EAAE,oBAAoB,EAC3C,yBAAyB,CAAC,CAAC;AAEzC,kBAAe,qBAAqB,CAAC"}
@@ -1,24 +0,0 @@
1
- /// <reference types="node" />
2
- export default UiAutomator;
3
- export class UiAutomator extends events {
4
- constructor(adb: any);
5
- adb: any;
6
- tempPath: string;
7
- start(uiAutomatorBinaryPath: any, className: any, startDetector: any, ...extraParams: any[]): Promise<any>;
8
- proc: any;
9
- shutdown(): Promise<void>;
10
- parseJarNameFromPath(binaryPath: any): string;
11
- changeState(state: any): void;
12
- state: any;
13
- killUiAutomatorOnDevice(): Promise<void>;
14
- }
15
- export namespace UiAutomator {
16
- let EVENT_ERROR: string;
17
- let EVENT_CHANGED: string;
18
- let STATE_STOPPING: string;
19
- let STATE_STOPPED: string;
20
- let STATE_STARTING: string;
21
- let STATE_ONLINE: string;
22
- }
23
- import events from 'events';
24
- //# sourceMappingURL=uiautomator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"uiautomator.d.ts","sourceRoot":"","sources":["../../lib/uiautomator.js"],"names":[],"mappings":";;AAMA;IACE,sBAOC;IAFC,SAAc;IACd,iBAAkC;IAGpC,2GA6CC;IA7BG,UAA2C;IA+B/C,0BAQC;IAED,8CAQC;IAED,8BAIC;IAFC,WAAkB;IAIpB,yCAMC;CAEF;;;;;;;;;mBAjGkB,QAAQ"}