@appium/base-driver 8.7.2 → 9.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.
- package/build/lib/basedriver/capabilities.d.ts +11 -163
- package/build/lib/basedriver/capabilities.d.ts.map +1 -1
- package/build/lib/basedriver/capabilities.js +354 -236
- package/build/lib/basedriver/capabilities.js.map +1 -1
- package/build/lib/basedriver/commands/event.d.ts +7 -6
- package/build/lib/basedriver/commands/event.d.ts.map +1 -1
- package/build/lib/basedriver/commands/event.js +55 -35
- package/build/lib/basedriver/commands/event.js.map +1 -1
- package/build/lib/basedriver/commands/execute.d.ts +7 -6
- package/build/lib/basedriver/commands/execute.d.ts.map +1 -1
- package/build/lib/basedriver/commands/execute.js +66 -58
- package/build/lib/basedriver/commands/execute.js.map +1 -1
- package/build/lib/basedriver/commands/find.d.ts +9 -7
- package/build/lib/basedriver/commands/find.d.ts.map +1 -1
- package/build/lib/basedriver/commands/find.js +102 -54
- package/build/lib/basedriver/commands/find.js.map +1 -1
- package/build/lib/basedriver/commands/index.d.ts +3 -7
- package/build/lib/basedriver/commands/index.d.ts.map +1 -1
- package/build/lib/basedriver/commands/index.js +30 -33
- package/build/lib/basedriver/commands/index.js.map +1 -1
- package/build/lib/basedriver/commands/log.d.ts +8 -9
- package/build/lib/basedriver/commands/log.d.ts.map +1 -1
- package/build/lib/basedriver/commands/log.js +54 -38
- package/build/lib/basedriver/commands/log.js.map +1 -1
- package/build/lib/basedriver/commands/session.d.ts +7 -6
- package/build/lib/basedriver/commands/session.d.ts.map +1 -1
- package/build/lib/basedriver/commands/session.js +46 -39
- package/build/lib/basedriver/commands/session.js.map +1 -1
- package/build/lib/basedriver/commands/settings.d.ts +7 -7
- package/build/lib/basedriver/commands/settings.d.ts.map +1 -1
- package/build/lib/basedriver/commands/settings.js +35 -28
- package/build/lib/basedriver/commands/settings.js.map +1 -1
- package/build/lib/basedriver/commands/timeout.d.ts +7 -5
- package/build/lib/basedriver/commands/timeout.d.ts.map +1 -1
- package/build/lib/basedriver/commands/timeout.js +144 -162
- package/build/lib/basedriver/commands/timeout.js.map +1 -1
- package/build/lib/basedriver/core.d.ts +6 -157
- package/build/lib/basedriver/core.d.ts.map +1 -1
- package/build/lib/basedriver/core.js +361 -230
- package/build/lib/basedriver/core.js.map +1 -1
- package/build/lib/basedriver/desired-caps.js +80 -110
- package/build/lib/basedriver/desired-caps.js.map +1 -1
- package/build/lib/basedriver/device-settings.js +57 -62
- package/build/lib/basedriver/device-settings.js.map +1 -1
- package/build/lib/basedriver/driver.d.ts +21 -267
- package/build/lib/basedriver/driver.d.ts.map +1 -1
- package/build/lib/basedriver/driver.js +362 -258
- package/build/lib/basedriver/driver.js.map +1 -1
- package/build/lib/basedriver/helpers.js +500 -495
- package/build/lib/basedriver/helpers.js.map +1 -1
- package/build/lib/basedriver/logger.d.ts +1 -1
- package/build/lib/basedriver/logger.d.ts.map +1 -1
- package/build/lib/basedriver/logger.js +5 -15
- package/build/lib/basedriver/logger.js.map +1 -1
- package/build/lib/constants.js +14 -14
- package/build/lib/constants.js.map +1 -1
- package/build/lib/express/crash.js +8 -15
- package/build/lib/express/crash.js.map +1 -1
- package/build/lib/express/express-logging.js +49 -59
- package/build/lib/express/express-logging.js.map +1 -1
- package/build/lib/express/idempotency.js +125 -177
- package/build/lib/express/idempotency.js.map +1 -1
- package/build/lib/express/logger.d.ts +1 -1
- package/build/lib/express/logger.d.ts.map +1 -1
- package/build/lib/express/logger.js +5 -15
- package/build/lib/express/logger.js.map +1 -1
- package/build/lib/express/middleware.js +82 -107
- package/build/lib/express/middleware.js.map +1 -1
- package/build/lib/express/server.d.ts +17 -5
- package/build/lib/express/server.d.ts.map +1 -1
- package/build/lib/express/server.js +259 -224
- package/build/lib/express/server.js.map +1 -1
- package/build/lib/express/static.js +64 -81
- package/build/lib/express/static.js.map +1 -1
- package/build/lib/express/websocket.js +115 -87
- package/build/lib/express/websocket.js.map +1 -1
- package/build/lib/helpers/capabilities.d.ts +1 -59
- package/build/lib/helpers/capabilities.d.ts.map +1 -1
- package/build/lib/helpers/capabilities.js +72 -69
- package/build/lib/helpers/capabilities.js.map +1 -1
- package/build/lib/index.js +64 -180
- package/build/lib/index.js.map +1 -1
- package/build/lib/jsonwp-proxy/protocol-converter.js +215 -227
- package/build/lib/jsonwp-proxy/protocol-converter.js.map +1 -1
- package/build/lib/jsonwp-proxy/proxy.d.ts.map +1 -1
- package/build/lib/jsonwp-proxy/proxy.js +355 -393
- package/build/lib/jsonwp-proxy/proxy.js.map +1 -1
- package/build/lib/jsonwp-status/status.js +119 -130
- package/build/lib/jsonwp-status/status.js.map +1 -1
- package/build/lib/protocol/errors.d.ts +135 -32
- package/build/lib/protocol/errors.d.ts.map +1 -1
- package/build/lib/protocol/errors.js +871 -919
- package/build/lib/protocol/errors.js.map +1 -1
- package/build/lib/protocol/helpers.js +37 -37
- package/build/lib/protocol/helpers.js.map +1 -1
- package/build/lib/protocol/index.js +22 -109
- package/build/lib/protocol/index.js.map +1 -1
- package/build/lib/protocol/protocol.js +394 -350
- package/build/lib/protocol/protocol.js.map +1 -1
- package/build/lib/protocol/routes.d.ts +1238 -4
- package/build/lib/protocol/routes.d.ts.map +1 -1
- package/build/lib/protocol/routes.js +964 -1327
- package/build/lib/protocol/routes.js.map +1 -1
- package/build/lib/protocol/validators.js +32 -39
- package/build/lib/protocol/validators.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/lib/basedriver/capabilities.js +80 -39
- package/lib/basedriver/commands/event.js +10 -5
- package/lib/basedriver/commands/execute.js +14 -9
- package/lib/basedriver/commands/find.js +18 -12
- package/lib/basedriver/commands/index.js +21 -16
- package/lib/basedriver/commands/log.js +24 -18
- package/lib/basedriver/commands/session.js +10 -5
- package/lib/basedriver/commands/settings.js +9 -6
- package/lib/basedriver/commands/timeout.js +10 -4
- package/lib/basedriver/core.js +2 -3
- package/lib/basedriver/driver.js +29 -18
- package/lib/express/server.js +6 -3
- package/lib/protocol/errors.js +155 -44
- package/lib/protocol/routes.js +11 -7
- package/package.json +14 -16
|
@@ -1,66 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @implements {SessionHandler<C>}
|
|
3
3
|
* @template {Constraints} C
|
|
4
|
-
* @template {StringRecord} [
|
|
4
|
+
* @template {StringRecord} [CArgs=StringRecord]
|
|
5
5
|
* @extends {DriverCore<C>}
|
|
6
6
|
*/
|
|
7
|
-
export class BaseDriverCore<C extends Readonly<Record<string, import("@appium/types").Constraint>>,
|
|
8
|
-
static BASE_DESIRED_CAP_CONSTRAINTS: {
|
|
9
|
-
readonly platformName: {
|
|
10
|
-
readonly presence: true;
|
|
11
|
-
readonly isString: true;
|
|
12
|
-
};
|
|
13
|
-
readonly app: {
|
|
14
|
-
readonly isString: true;
|
|
15
|
-
};
|
|
16
|
-
readonly deviceName: {
|
|
17
|
-
readonly isString: true;
|
|
18
|
-
};
|
|
19
|
-
readonly platformVersion: {
|
|
20
|
-
readonly isString: true;
|
|
21
|
-
};
|
|
22
|
-
readonly newCommandTimeout: {
|
|
23
|
-
readonly isNumber: true;
|
|
24
|
-
};
|
|
25
|
-
readonly automationName: {
|
|
26
|
-
readonly isString: true;
|
|
27
|
-
};
|
|
28
|
-
readonly autoLaunch: {
|
|
29
|
-
readonly isBoolean: true;
|
|
30
|
-
};
|
|
31
|
-
readonly udid: {
|
|
32
|
-
readonly isString: true;
|
|
33
|
-
};
|
|
34
|
-
readonly orientation: {
|
|
35
|
-
readonly inclusion: readonly ["LANDSCAPE", "PORTRAIT"];
|
|
36
|
-
};
|
|
37
|
-
readonly autoWebview: {
|
|
38
|
-
readonly isBoolean: true;
|
|
39
|
-
};
|
|
40
|
-
readonly noReset: {
|
|
41
|
-
readonly isBoolean: true;
|
|
42
|
-
};
|
|
43
|
-
readonly fullReset: {
|
|
44
|
-
readonly isBoolean: true;
|
|
45
|
-
};
|
|
46
|
-
readonly language: {
|
|
47
|
-
readonly isString: true;
|
|
48
|
-
};
|
|
49
|
-
readonly locale: {
|
|
50
|
-
readonly isString: true;
|
|
51
|
-
};
|
|
52
|
-
readonly eventTimings: {
|
|
53
|
-
readonly isBoolean: true;
|
|
54
|
-
};
|
|
55
|
-
readonly printPageSourceOnFindFailure: {
|
|
56
|
-
readonly isBoolean: true;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
constructor(opts?: import("./core").DriverOpts<C>, shouldValidateCaps?: boolean | undefined);
|
|
7
|
+
export class BaseDriverCore<C extends Readonly<Record<string, import("@appium/types").Constraint>>, CArgs extends import("@appium/types").StringRecord = import("@appium/types").StringRecord> extends DriverCore<C> implements SessionHandler<C> {
|
|
60
8
|
/**
|
|
61
|
-
*
|
|
9
|
+
*
|
|
10
|
+
* @param {DriverOpts<C>} opts
|
|
11
|
+
* @param {boolean} shouldValidateCaps
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts?: DriverOpts<C>, shouldValidateCaps?: boolean);
|
|
14
|
+
/**
|
|
15
|
+
* @type {CArgs & ServerArgs}
|
|
62
16
|
*/
|
|
63
|
-
cliArgs:
|
|
17
|
+
cliArgs: CArgs & ServerArgs;
|
|
64
18
|
/**
|
|
65
19
|
* @type {Capabilities<C>}
|
|
66
20
|
*/
|
|
@@ -86,57 +40,7 @@ export class BaseDriverCore<C extends Readonly<Record<string, import("@appium/ty
|
|
|
86
40
|
* @type {Readonly<BaseDriverCapConstraints & C>}
|
|
87
41
|
* @protected
|
|
88
42
|
*/
|
|
89
|
-
protected get _desiredCapConstraints(): Readonly<
|
|
90
|
-
readonly platformName: {
|
|
91
|
-
readonly presence: true;
|
|
92
|
-
readonly isString: true;
|
|
93
|
-
};
|
|
94
|
-
readonly app: {
|
|
95
|
-
readonly isString: true;
|
|
96
|
-
};
|
|
97
|
-
readonly deviceName: {
|
|
98
|
-
readonly isString: true;
|
|
99
|
-
};
|
|
100
|
-
readonly platformVersion: {
|
|
101
|
-
readonly isString: true;
|
|
102
|
-
};
|
|
103
|
-
readonly newCommandTimeout: {
|
|
104
|
-
readonly isNumber: true;
|
|
105
|
-
};
|
|
106
|
-
readonly automationName: {
|
|
107
|
-
readonly isString: true;
|
|
108
|
-
};
|
|
109
|
-
readonly autoLaunch: {
|
|
110
|
-
readonly isBoolean: true;
|
|
111
|
-
};
|
|
112
|
-
readonly udid: {
|
|
113
|
-
readonly isString: true;
|
|
114
|
-
};
|
|
115
|
-
readonly orientation: {
|
|
116
|
-
readonly inclusion: readonly ["LANDSCAPE", "PORTRAIT"];
|
|
117
|
-
};
|
|
118
|
-
readonly autoWebview: {
|
|
119
|
-
readonly isBoolean: true;
|
|
120
|
-
};
|
|
121
|
-
readonly noReset: {
|
|
122
|
-
readonly isBoolean: true;
|
|
123
|
-
};
|
|
124
|
-
readonly fullReset: {
|
|
125
|
-
readonly isBoolean: true;
|
|
126
|
-
};
|
|
127
|
-
readonly language: {
|
|
128
|
-
readonly isString: true;
|
|
129
|
-
};
|
|
130
|
-
readonly locale: {
|
|
131
|
-
readonly isString: true;
|
|
132
|
-
};
|
|
133
|
-
readonly eventTimings: {
|
|
134
|
-
readonly isBoolean: true;
|
|
135
|
-
};
|
|
136
|
-
readonly printPageSourceOnFindFailure: {
|
|
137
|
-
readonly isBoolean: true;
|
|
138
|
-
};
|
|
139
|
-
} & C>;
|
|
43
|
+
protected get _desiredCapConstraints(): Readonly<typeof BASE_DESIRED_CAP_CONSTRAINTS & C>;
|
|
140
44
|
/**
|
|
141
45
|
* @param {string} cmd
|
|
142
46
|
* @param {...any} args
|
|
@@ -185,9 +89,9 @@ export class BaseDriverCore<C extends Readonly<Record<string, import("@appium/ty
|
|
|
185
89
|
deleteSession(sessionId?: string | undefined, driverData?: import("@appium/types").DriverData[] | undefined): Promise<void>;
|
|
186
90
|
/**
|
|
187
91
|
*
|
|
188
|
-
* @param {Capabilities} caps
|
|
92
|
+
* @param {Capabilities<C>} caps
|
|
189
93
|
*/
|
|
190
|
-
logExtraCaps(caps: Capabilities): void;
|
|
94
|
+
logExtraCaps(caps: Capabilities<C>): void;
|
|
191
95
|
/**
|
|
192
96
|
*
|
|
193
97
|
* @param {Capabilities<C>} caps
|
|
@@ -195,7 +99,7 @@ export class BaseDriverCore<C extends Readonly<Record<string, import("@appium/ty
|
|
|
195
99
|
*/
|
|
196
100
|
validateDesiredCaps(caps: Capabilities<C>): boolean;
|
|
197
101
|
}
|
|
198
|
-
declare const BaseDriver_base: import("./commands/execute").ExecuteBase
|
|
102
|
+
declare const BaseDriver_base: import("./commands/execute").ExecuteBase<any>;
|
|
199
103
|
/**
|
|
200
104
|
* This ensures that all of the mixins correctly implement the interface described in {@linkcode Driver}.
|
|
201
105
|
* @template {Constraints} [C={}]
|
|
@@ -206,7 +110,6 @@ export class BaseDriver<C extends Readonly<Record<string, import("@appium/types"
|
|
|
206
110
|
}
|
|
207
111
|
export default BaseDriver;
|
|
208
112
|
export type HTTPMethod = import('@appium/types').HTTPMethod;
|
|
209
|
-
export type ExternalDriver = import('@appium/types').ExternalDriver;
|
|
210
113
|
export type DriverData = import('@appium/types').DriverData;
|
|
211
114
|
export type Constraints = import('@appium/types').Constraints;
|
|
212
115
|
export type Constraint = import('@appium/types').Constraint;
|
|
@@ -217,162 +120,13 @@ export type UpdateServerCallback = (app: import('express').Express, httpServer:
|
|
|
217
120
|
/**
|
|
218
121
|
* This is used to extend {@linkcode BaseDriverCore } by the mixins and also external drivers.
|
|
219
122
|
*/
|
|
220
|
-
export type BaseDriverBase<Proto = {}, Static = {}> = import('@appium/types').Class<BaseDriverCore<
|
|
221
|
-
export type SessionHandler<C extends Readonly<Record<string, import("@appium/types").Constraint>> =
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
readonly app: {
|
|
227
|
-
readonly isString: true;
|
|
228
|
-
};
|
|
229
|
-
readonly deviceName: {
|
|
230
|
-
readonly isString: true;
|
|
231
|
-
};
|
|
232
|
-
readonly platformVersion: {
|
|
233
|
-
readonly isString: true;
|
|
234
|
-
};
|
|
235
|
-
readonly newCommandTimeout: {
|
|
236
|
-
readonly isNumber: true;
|
|
237
|
-
};
|
|
238
|
-
readonly automationName: {
|
|
239
|
-
readonly isString: true;
|
|
240
|
-
};
|
|
241
|
-
readonly autoLaunch: {
|
|
242
|
-
readonly isBoolean: true;
|
|
243
|
-
};
|
|
244
|
-
readonly udid: {
|
|
245
|
-
readonly isString: true;
|
|
246
|
-
};
|
|
247
|
-
readonly orientation: {
|
|
248
|
-
readonly inclusion: readonly ["LANDSCAPE", "PORTRAIT"];
|
|
249
|
-
};
|
|
250
|
-
readonly autoWebview: {
|
|
251
|
-
readonly isBoolean: true;
|
|
252
|
-
};
|
|
253
|
-
readonly noReset: {
|
|
254
|
-
readonly isBoolean: true;
|
|
255
|
-
};
|
|
256
|
-
readonly fullReset: {
|
|
257
|
-
readonly isBoolean: true;
|
|
258
|
-
};
|
|
259
|
-
readonly language: {
|
|
260
|
-
readonly isString: true;
|
|
261
|
-
};
|
|
262
|
-
readonly locale: {
|
|
263
|
-
readonly isString: true;
|
|
264
|
-
};
|
|
265
|
-
readonly eventTimings: {
|
|
266
|
-
readonly isBoolean: true;
|
|
267
|
-
};
|
|
268
|
-
readonly printPageSourceOnFindFailure: {
|
|
269
|
-
readonly isBoolean: true;
|
|
270
|
-
};
|
|
271
|
-
}> = import('@appium/types').SessionHandler<[string, object], void, C>;
|
|
272
|
-
export type Capabilities<C extends Readonly<Record<string, import("@appium/types").Constraint>> = {
|
|
273
|
-
readonly platformName: {
|
|
274
|
-
readonly presence: true;
|
|
275
|
-
readonly isString: true;
|
|
276
|
-
};
|
|
277
|
-
readonly app: {
|
|
278
|
-
readonly isString: true;
|
|
279
|
-
};
|
|
280
|
-
readonly deviceName: {
|
|
281
|
-
readonly isString: true;
|
|
282
|
-
};
|
|
283
|
-
readonly platformVersion: {
|
|
284
|
-
readonly isString: true;
|
|
285
|
-
};
|
|
286
|
-
readonly newCommandTimeout: {
|
|
287
|
-
readonly isNumber: true;
|
|
288
|
-
};
|
|
289
|
-
readonly automationName: {
|
|
290
|
-
readonly isString: true;
|
|
291
|
-
};
|
|
292
|
-
readonly autoLaunch: {
|
|
293
|
-
readonly isBoolean: true;
|
|
294
|
-
};
|
|
295
|
-
readonly udid: {
|
|
296
|
-
readonly isString: true;
|
|
297
|
-
};
|
|
298
|
-
readonly orientation: {
|
|
299
|
-
readonly inclusion: readonly ["LANDSCAPE", "PORTRAIT"];
|
|
300
|
-
};
|
|
301
|
-
readonly autoWebview: {
|
|
302
|
-
readonly isBoolean: true;
|
|
303
|
-
};
|
|
304
|
-
readonly noReset: {
|
|
305
|
-
readonly isBoolean: true;
|
|
306
|
-
};
|
|
307
|
-
readonly fullReset: {
|
|
308
|
-
readonly isBoolean: true;
|
|
309
|
-
};
|
|
310
|
-
readonly language: {
|
|
311
|
-
readonly isString: true;
|
|
312
|
-
};
|
|
313
|
-
readonly locale: {
|
|
314
|
-
readonly isString: true;
|
|
315
|
-
};
|
|
316
|
-
readonly eventTimings: {
|
|
317
|
-
readonly isBoolean: true;
|
|
318
|
-
};
|
|
319
|
-
readonly printPageSourceOnFindFailure: {
|
|
320
|
-
readonly isBoolean: true;
|
|
321
|
-
};
|
|
322
|
-
}, Extra extends void | import("@appium/types").StringRecord = void> = import('@appium/types').Capabilities<C, Extra>;
|
|
323
|
-
export type W3CCapabilities<C extends Readonly<Record<string, import("@appium/types").Constraint>> = {
|
|
324
|
-
readonly platformName: {
|
|
325
|
-
readonly presence: true;
|
|
326
|
-
readonly isString: true;
|
|
327
|
-
};
|
|
328
|
-
readonly app: {
|
|
329
|
-
readonly isString: true;
|
|
330
|
-
};
|
|
331
|
-
readonly deviceName: {
|
|
332
|
-
readonly isString: true;
|
|
333
|
-
};
|
|
334
|
-
readonly platformVersion: {
|
|
335
|
-
readonly isString: true;
|
|
336
|
-
};
|
|
337
|
-
readonly newCommandTimeout: {
|
|
338
|
-
readonly isNumber: true;
|
|
339
|
-
};
|
|
340
|
-
readonly automationName: {
|
|
341
|
-
readonly isString: true;
|
|
342
|
-
};
|
|
343
|
-
readonly autoLaunch: {
|
|
344
|
-
readonly isBoolean: true;
|
|
345
|
-
};
|
|
346
|
-
readonly udid: {
|
|
347
|
-
readonly isString: true;
|
|
348
|
-
};
|
|
349
|
-
readonly orientation: {
|
|
350
|
-
readonly inclusion: readonly ["LANDSCAPE", "PORTRAIT"];
|
|
351
|
-
};
|
|
352
|
-
readonly autoWebview: {
|
|
353
|
-
readonly isBoolean: true;
|
|
354
|
-
};
|
|
355
|
-
readonly noReset: {
|
|
356
|
-
readonly isBoolean: true;
|
|
357
|
-
};
|
|
358
|
-
readonly fullReset: {
|
|
359
|
-
readonly isBoolean: true;
|
|
360
|
-
};
|
|
361
|
-
readonly language: {
|
|
362
|
-
readonly isString: true;
|
|
363
|
-
};
|
|
364
|
-
readonly locale: {
|
|
365
|
-
readonly isString: true;
|
|
366
|
-
};
|
|
367
|
-
readonly eventTimings: {
|
|
368
|
-
readonly isBoolean: true;
|
|
369
|
-
};
|
|
370
|
-
readonly printPageSourceOnFindFailure: {
|
|
371
|
-
readonly isBoolean: true;
|
|
372
|
-
};
|
|
373
|
-
}, Extra extends void | import("@appium/types").StringRecord = void> = import('@appium/types').W3CCapabilities<C, Extra>;
|
|
374
|
-
export type ConstraintsToCaps<C extends Readonly<Record<string, import("@appium/types").Constraint>>> = import('@appium/types').ConstraintsToCaps<C>;
|
|
375
|
-
export type Driver<C extends Readonly<Record<string, import("@appium/types").Constraint>>> = import('@appium/types').Driver<C>;
|
|
123
|
+
export type BaseDriverBase<C extends Readonly<Record<string, import("@appium/types").Constraint>>, Proto = {}, Static = {}> = import('@appium/types').Class<BaseDriverCore<C> & Proto, import("@appium/types").DriverStatic<any> & Static>;
|
|
124
|
+
export type SessionHandler<C extends Readonly<Record<string, import("@appium/types").Constraint>> = typeof BASE_DESIRED_CAP_CONSTRAINTS> = import('@appium/types').SessionHandler<[string, object], void, C>;
|
|
125
|
+
export type Capabilities<C extends Readonly<Record<string, import("@appium/types").Constraint>> = typeof BASE_DESIRED_CAP_CONSTRAINTS, Extra extends void | import("@appium/types").StringRecord = void> = import('@appium/types').Capabilities<C, Extra>;
|
|
126
|
+
export type W3CCapabilities<C extends Readonly<Record<string, import("@appium/types").Constraint>> = typeof BASE_DESIRED_CAP_CONSTRAINTS, Extra extends void | import("@appium/types").StringRecord = void> = import('@appium/types').W3CCapabilities<C, Extra>;
|
|
127
|
+
export type Driver<C extends Readonly<Record<string, import("@appium/types").Constraint>> = typeof BASE_DESIRED_CAP_CONSTRAINTS, CArgs extends import("@appium/types").StringRecord = import("@appium/types").StringRecord> = import('@appium/types').Driver<C, CArgs>;
|
|
128
|
+
export type ExternalDriver<C extends Readonly<Record<string, import("@appium/types").Constraint>>> = import('@appium/types').ExternalDriver<C>;
|
|
376
129
|
export type DriverOpts<C extends Readonly<Record<string, import("@appium/types").Constraint>>> = import('@appium/types').DriverOpts<C>;
|
|
377
130
|
import { DriverCore } from "./core";
|
|
131
|
+
import { BASE_DESIRED_CAP_CONSTRAINTS } from "@appium/types";
|
|
378
132
|
//# sourceMappingURL=driver.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../../lib/basedriver/driver.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"driver.d.ts","sourceRoot":"","sources":["../../../lib/basedriver/driver.js"],"names":[],"mappings":"AAyBA;;;;;GAKG;AACH,+OAL+B,CAAC;IA+B9B;;;;OAIG;IACH,mBAHW,WAAW,CAAC,CAAC,uBACb,OAAO,EAcjB;IA1CD;;OAEG;IACH,SAFU,KAAK,GAAG,UAAU,CAEpB;IAER;;OAEG;IACH,MAFU,aAAa,CAAC,CAAC,CAEpB;IAEL;;OAEG;IACH,cAFU,gBAAgB,CAAC,CAAC,CAEf;IAEb;;OAEG;IACH,uBAFU,CAAC,CAEW;IAEtB;;OAEG;IACH,MAFU,WAAW,CAAC,CAAC,GAAG,WAAW,wBAAwB,CAAC,CAEzD;IAq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