@appium/base-driver 9.3.3 → 9.3.5
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 +59 -36
- package/build/lib/basedriver/capabilities.d.ts.map +1 -1
- package/build/lib/basedriver/capabilities.js +57 -45
- package/build/lib/basedriver/capabilities.js.map +1 -1
- package/build/lib/basedriver/commands/event.d.ts +1 -1
- package/build/lib/basedriver/commands/event.d.ts.map +1 -1
- package/build/lib/basedriver/commands/event.js.map +1 -1
- package/build/lib/basedriver/commands/execute.d.ts +1 -1
- package/build/lib/basedriver/commands/execute.d.ts.map +1 -1
- package/build/lib/basedriver/commands/execute.js.map +1 -1
- package/build/lib/basedriver/commands/find.d.ts +1 -1
- package/build/lib/basedriver/commands/find.d.ts.map +1 -1
- package/build/lib/basedriver/commands/find.js.map +1 -1
- package/build/lib/basedriver/commands/index.d.ts +7 -7
- package/build/lib/basedriver/commands/index.d.ts.map +1 -1
- package/build/lib/basedriver/commands/index.js +7 -21
- package/build/lib/basedriver/commands/index.js.map +1 -1
- package/build/lib/basedriver/commands/log.d.ts +1 -1
- package/build/lib/basedriver/commands/log.d.ts.map +1 -1
- package/build/lib/basedriver/commands/log.js.map +1 -1
- package/build/lib/basedriver/commands/mixin.d.ts +4 -4
- package/build/lib/basedriver/commands/mixin.d.ts.map +1 -1
- package/build/lib/basedriver/commands/mixin.js +5 -4
- package/build/lib/basedriver/commands/mixin.js.map +1 -1
- package/build/lib/basedriver/commands/session.d.ts +1 -1
- package/build/lib/basedriver/commands/session.d.ts.map +1 -1
- package/build/lib/basedriver/commands/session.js +1 -4
- package/build/lib/basedriver/commands/session.js.map +1 -1
- package/build/lib/basedriver/commands/settings.d.ts +1 -1
- package/build/lib/basedriver/commands/settings.d.ts.map +1 -1
- package/build/lib/basedriver/commands/settings.js.map +1 -1
- package/build/lib/basedriver/commands/timeout.d.ts +1 -1
- package/build/lib/basedriver/commands/timeout.d.ts.map +1 -1
- package/build/lib/basedriver/commands/timeout.js +1 -4
- package/build/lib/basedriver/commands/timeout.js.map +1 -1
- package/build/lib/basedriver/core.d.ts +13 -17
- package/build/lib/basedriver/core.d.ts.map +1 -1
- package/build/lib/basedriver/core.js +32 -20
- package/build/lib/basedriver/core.js.map +1 -1
- package/build/lib/basedriver/device-settings.d.ts +11 -11
- package/build/lib/basedriver/device-settings.d.ts.map +1 -1
- package/build/lib/basedriver/device-settings.js +7 -8
- package/build/lib/basedriver/device-settings.js.map +1 -1
- package/build/lib/basedriver/driver.d.ts +23 -108
- package/build/lib/basedriver/driver.d.ts.map +1 -1
- package/build/lib/basedriver/driver.js +21 -126
- package/build/lib/basedriver/driver.js.map +1 -1
- package/build/lib/basedriver/helpers.d.ts +21 -98
- package/build/lib/basedriver/helpers.d.ts.map +1 -1
- package/build/lib/basedriver/helpers.js +178 -182
- package/build/lib/basedriver/helpers.js.map +1 -1
- package/build/lib/express/server.d.ts +3 -3
- package/build/lib/express/server.d.ts.map +1 -1
- package/build/lib/express/server.js +4 -2
- package/build/lib/express/server.js.map +1 -1
- package/build/lib/express/websocket.d.ts +5 -44
- package/build/lib/express/websocket.d.ts.map +1 -1
- package/build/lib/express/websocket.js +10 -39
- package/build/lib/express/websocket.js.map +1 -1
- package/build/lib/helpers/capabilities.d.ts +2 -2
- package/build/lib/helpers/capabilities.d.ts.map +1 -1
- package/build/lib/helpers/capabilities.js +2 -3
- package/build/lib/helpers/capabilities.js.map +1 -1
- package/build/lib/protocol/protocol.d.ts +1 -1
- package/build/lib/protocol/protocol.d.ts.map +1 -1
- package/build/lib/protocol/protocol.js +10 -2
- package/build/lib/protocol/protocol.js.map +1 -1
- package/build/lib/protocol/routes.d.ts +1 -0
- package/build/lib/protocol/routes.d.ts.map +1 -1
- package/build/lib/protocol/routes.js +12 -10
- package/build/lib/protocol/routes.js.map +1 -1
- package/lib/basedriver/capabilities.js +70 -56
- package/lib/basedriver/commands/event.ts +3 -2
- package/lib/basedriver/commands/execute.ts +2 -1
- package/lib/basedriver/commands/find.ts +1 -0
- package/lib/basedriver/commands/index.ts +7 -7
- package/lib/basedriver/commands/log.ts +2 -4
- package/lib/basedriver/commands/mixin.ts +5 -4
- package/lib/basedriver/commands/session.ts +9 -7
- package/lib/basedriver/commands/settings.ts +1 -0
- package/lib/basedriver/commands/timeout.ts +17 -17
- package/lib/basedriver/core.js +11 -25
- package/lib/basedriver/device-settings.js +9 -11
- package/lib/basedriver/{driver.js → driver.ts} +69 -175
- package/lib/basedriver/helpers.js +214 -212
- package/lib/express/server.js +4 -2
- package/lib/express/websocket.js +10 -39
- package/lib/helpers/capabilities.js +2 -3
- package/lib/protocol/protocol.js +11 -2
- package/lib/protocol/routes.js +12 -13
- package/package.json +10 -6
|
@@ -3,70 +3,93 @@
|
|
|
3
3
|
* @see https://www.w3.org/TR/webdriver/#dfn-table-of-standard-capabilities)
|
|
4
4
|
*/
|
|
5
5
|
export const STANDARD_CAPS: Readonly<Set<keyof import("@appium/types").StandardCapabilities>>;
|
|
6
|
+
/**
|
|
7
|
+
* Returned by {@linkcode parseCaps }
|
|
8
|
+
*/
|
|
9
|
+
export type ParsedCaps<C extends import("@appium/types").Constraints> = {
|
|
10
|
+
allFirstMatchCaps: NSCapabilities<C>[];
|
|
11
|
+
validatedFirstMatchCaps: Capabilities<C>[];
|
|
12
|
+
requiredCaps: NSCapabilities<C>;
|
|
13
|
+
matchedCaps: Capabilities<C> | null;
|
|
14
|
+
validationErrors: string[];
|
|
15
|
+
};
|
|
6
16
|
export type Constraints = import('@appium/types').Constraints;
|
|
7
17
|
export type Constraint = import('@appium/types').Constraint;
|
|
8
18
|
export type StringRecord = import('@appium/types').StringRecord;
|
|
9
19
|
export type BaseDriverCapConstraints = import('@appium/types').BaseDriverCapConstraints;
|
|
10
|
-
export type ConstraintsToCaps<C extends
|
|
20
|
+
export type ConstraintsToCaps<C extends import("@appium/types").Constraints> = import('@appium/types').ConstraintsToCaps<C>;
|
|
11
21
|
export type ValidateCapsOpts = {
|
|
12
22
|
/**
|
|
13
23
|
* - if true, skip the presence constraint
|
|
14
24
|
*/
|
|
15
25
|
skipPresenceConstraint?: boolean | undefined;
|
|
16
26
|
};
|
|
17
|
-
export type NSCapabilities<C extends
|
|
18
|
-
export type Capabilities<C extends
|
|
19
|
-
export type W3CCapabilities<C extends
|
|
20
|
-
export type Merge<T, U> = import('type-fest').Merge<T, U>;
|
|
27
|
+
export type NSCapabilities<C extends import("@appium/types").Constraints> = import('@appium/types').NSCapabilities<C>;
|
|
28
|
+
export type Capabilities<C extends import("@appium/types").Constraints> = import('@appium/types').Capabilities<C>;
|
|
29
|
+
export type W3CCapabilities<C extends import("@appium/types").Constraints> = import('@appium/types').W3CCapabilities<C>;
|
|
21
30
|
export type StringKeyOf<T> = import('type-fest').StringKeyOf<T>;
|
|
31
|
+
/**
|
|
32
|
+
* <T,U>
|
|
33
|
+
*/
|
|
34
|
+
export type MergeExclusive<T, U> = import('type-fest').MergeExclusive<T, U>;
|
|
35
|
+
/**
|
|
36
|
+
* Returned by {@linkcode parseCaps}
|
|
37
|
+
* @template {Constraints} C
|
|
38
|
+
* @typedef ParsedCaps
|
|
39
|
+
* @property {NSCapabilities<C>[]} allFirstMatchCaps
|
|
40
|
+
* @property {Capabilities<C>[]} validatedFirstMatchCaps
|
|
41
|
+
* @property {NSCapabilities<C>} requiredCaps
|
|
42
|
+
* @property {Capabilities<C>|null} matchedCaps
|
|
43
|
+
* @property {string[]} validationErrors
|
|
44
|
+
*/
|
|
22
45
|
/**
|
|
23
46
|
* Parse capabilities
|
|
24
|
-
* @template {Constraints}
|
|
25
|
-
* @param {
|
|
47
|
+
* @template {Constraints} C
|
|
48
|
+
* @param {W3CCapabilities<C>} caps
|
|
26
49
|
* @param {C} [constraints]
|
|
27
50
|
* @param {boolean} [shouldValidateCaps]
|
|
28
51
|
* @see https://www.w3.org/TR/webdriver/#processing-capabilities
|
|
52
|
+
* @returns {ParsedCaps<C>}
|
|
29
53
|
*/
|
|
30
|
-
export function parseCaps<C extends
|
|
31
|
-
requiredCaps: {};
|
|
32
|
-
allFirstMatchCaps: Partial<import("@appium/types").CapsToNSCaps<import("@appium/types").ConstraintsToCaps<C> & void, "appium">>[] | {}[];
|
|
33
|
-
validatedFirstMatchCaps: Partial<import("@appium/types").ConstraintsToCaps<C> & void>[];
|
|
34
|
-
matchedCaps: ((import("type-fest/source/merge").SimpleMerge<import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>> & import("type-fest/source/merge").SimpleMerge<import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>> extends infer T_1 ? { [Key in keyof T_1 as import("type-fest/source/enforce-optional").RequiredFilter<import("type-fest/source/merge").SimpleMerge<import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>> & import("type-fest/source/merge").SimpleMerge<import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>>, Key>]: (import("type-fest/source/merge").SimpleMerge<import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>> & import("type-fest/source/merge").SimpleMerge<import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>>)[Key]; } : never) & (import("type-fest/source/merge").SimpleMerge<import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>> & import("type-fest/source/merge").SimpleMerge<import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>> extends infer T_2 ? { [Key_1 in keyof T_2 as import("type-fest/source/enforce-optional").OptionalFilter<import("type-fest/source/merge").SimpleMerge<import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>> & import("type-fest/source/merge").SimpleMerge<import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>>, Key_1>]?: Exclude<(import("type-fest/source/merge").SimpleMerge<import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>> & import("type-fest/source/merge").SimpleMerge<import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>>)[Key_1], undefined> | undefined; } : never) extends infer T ? { [KeyType in keyof T]: ((import("type-fest/source/merge").SimpleMerge<import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>> & import("type-fest/source/merge").SimpleMerge<import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>> extends infer T_1 ? { [Key in keyof T_1 as import("type-fest/source/enforce-optional").RequiredFilter<import("type-fest/source/merge").SimpleMerge<import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>> & import("type-fest/source/merge").SimpleMerge<import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>>, Key>]: (import("type-fest/source/merge").SimpleMerge<import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>> & import("type-fest/source/merge").SimpleMerge<import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>>)[Key]; } : never) & (import("type-fest/source/merge").SimpleMerge<import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>> & import("type-fest/source/merge").SimpleMerge<import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>> extends infer T_2 ? { [Key_1 in keyof T_2 as import("type-fest/source/enforce-optional").OptionalFilter<import("type-fest/source/merge").SimpleMerge<import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>> & import("type-fest/source/merge").SimpleMerge<import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>>, Key_1>]?: Exclude<(import("type-fest/source/merge").SimpleMerge<import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").PickIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>> & import("type-fest/source/merge").SimpleMerge<import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<{}> & void>>, import("type-fest").OmitIndexSignature<Partial<import("@appium/types").ConstraintsToCaps<C> & void>>>)[Key_1], undefined> | undefined; } : never))[KeyType]; } : never) | null;
|
|
35
|
-
validationErrors: string[];
|
|
36
|
-
};
|
|
54
|
+
export function parseCaps<C extends import("@appium/types").Constraints>(caps: import("@appium/types").W3CCapabilities<C>, constraints?: C | undefined, shouldValidateCaps?: boolean | undefined): ParsedCaps<C>;
|
|
37
55
|
/**
|
|
56
|
+
* Calls parseCaps and just returns the matchedCaps variable
|
|
38
57
|
* @template {Constraints} C
|
|
39
|
-
* @
|
|
58
|
+
* @template {W3CCapabilities<C>} W3CCaps
|
|
59
|
+
* @param {W3CCaps} w3cCaps
|
|
40
60
|
* @param {C} [constraints]
|
|
41
61
|
* @param {boolean} [shouldValidateCaps]
|
|
42
|
-
* @returns {
|
|
62
|
+
* @returns {Capabilities<C>}
|
|
43
63
|
*/
|
|
44
|
-
export function processCapabilities<C extends
|
|
64
|
+
export function processCapabilities<C extends import("@appium/types").Constraints, W3CCaps extends import("@appium/types").W3CCapabilities<C>>(w3cCaps: W3CCaps, constraints?: C | undefined, shouldValidateCaps?: boolean | undefined): import("@appium/types").ConstraintsToCaps<C>;
|
|
45
65
|
/**
|
|
46
|
-
*
|
|
66
|
+
* Validates caps against a set of constraints
|
|
67
|
+
* @template {Constraints} C
|
|
47
68
|
* @param {Capabilities<C>} caps
|
|
48
69
|
* @param {C} [constraints]
|
|
49
70
|
* @param {ValidateCapsOpts} [opts]
|
|
50
71
|
* @returns {Capabilities<C>}
|
|
51
72
|
*/
|
|
52
|
-
export function validateCaps<C extends
|
|
73
|
+
export function validateCaps<C extends import("@appium/types").Constraints>(caps: import("@appium/types").ConstraintsToCaps<C>, constraints?: C | undefined, opts?: ValidateCapsOpts | undefined): import("@appium/types").ConstraintsToCaps<C>;
|
|
53
74
|
/**
|
|
54
75
|
* Takes primary caps object and merges it into a secondary caps object.
|
|
55
|
-
* @template {Constraints}
|
|
56
|
-
* @template {Constraints}
|
|
57
|
-
* @
|
|
58
|
-
* @
|
|
59
|
-
* @
|
|
76
|
+
* @template {Constraints} T
|
|
77
|
+
* @template {Constraints} U
|
|
78
|
+
* @template {Capabilities<T>} Primary
|
|
79
|
+
* @template {Capabilities<U>} Secondary
|
|
80
|
+
* @param {Primary} [primary]
|
|
81
|
+
* @param {Secondary} [secondary]
|
|
82
|
+
* @returns {MergeExclusive<Primary, Secondary>}
|
|
60
83
|
* @see https://www.w3.org/TR/webdriver/#dfn-merging-capabilities)
|
|
61
84
|
*/
|
|
62
|
-
export function mergeCaps<T extends
|
|
85
|
+
export function mergeCaps<T extends import("@appium/types").Constraints, U extends import("@appium/types").Constraints, Primary extends import("@appium/types").ConstraintsToCaps<T>, Secondary extends import("@appium/types").ConstraintsToCaps<U>>(primary?: Primary | undefined, secondary?: Secondary | undefined): import("type-fest").MergeExclusive<Primary, Secondary>;
|
|
63
86
|
export const APPIUM_VENDOR_PREFIX: "appium:";
|
|
64
87
|
/**
|
|
65
88
|
* Get an array of all the unprefixed caps that are being used in 'alwaysMatch' and all of the 'firstMatch' object
|
|
66
|
-
* @template {Constraints}
|
|
67
|
-
* @param {
|
|
89
|
+
* @template {Constraints} C
|
|
90
|
+
* @param {W3CCapabilities<C>} caps A capabilities object
|
|
68
91
|
*/
|
|
69
|
-
export function findNonPrefixedCaps<C extends
|
|
92
|
+
export function findNonPrefixedCaps<C extends import("@appium/types").Constraints>({ alwaysMatch, firstMatch }: import("@appium/types").W3CCapabilities<C>): string[];
|
|
70
93
|
/**
|
|
71
94
|
* @param {string} cap
|
|
72
95
|
* @returns {boolean}
|
|
@@ -74,22 +97,22 @@ export function findNonPrefixedCaps<C extends Readonly<Record<string, import("@a
|
|
|
74
97
|
export function isStandardCap(cap: string): boolean;
|
|
75
98
|
/**
|
|
76
99
|
* If the 'appium:' prefix was provided and it's a valid capability, strip out the prefix
|
|
77
|
-
* @template {Constraints}
|
|
78
|
-
* @param {
|
|
100
|
+
* @template {Constraints} C
|
|
101
|
+
* @param {NSCapabilities<C>} caps
|
|
79
102
|
* @see https://www.w3.org/TR/webdriver/#dfn-extension-capabilities
|
|
80
103
|
* @internal
|
|
81
|
-
* @returns {
|
|
104
|
+
* @returns {Capabilities<C>}
|
|
82
105
|
*/
|
|
83
|
-
export function stripAppiumPrefixes<C extends
|
|
106
|
+
export function stripAppiumPrefixes<C extends import("@appium/types").Constraints>(caps: Partial<import("@appium/types").CapsToNSCaps<import("@appium/types").ConstraintsToCaps<C>, "appium">>): import("@appium/types").ConstraintsToCaps<C>;
|
|
84
107
|
/**
|
|
85
108
|
* Return a copy of a capabilities object which has taken everything within the 'options'
|
|
86
109
|
* capability and promoted it to the top level.
|
|
87
110
|
*
|
|
88
111
|
* @template {Constraints} C
|
|
89
|
-
* @param {
|
|
90
|
-
* @return {
|
|
112
|
+
* @param {W3CCapabilities<C>} originalCaps
|
|
113
|
+
* @return {W3CCapabilities<C>} the capabilities with 'options' promoted if necessary
|
|
91
114
|
*/
|
|
92
|
-
export function promoteAppiumOptions<C extends
|
|
115
|
+
export function promoteAppiumOptions<C extends import("@appium/types").Constraints>(originalCaps: import("@appium/types").W3CCapabilities<C>): import("@appium/types").W3CCapabilities<C>;
|
|
93
116
|
/**
|
|
94
117
|
* Return a copy of a "bare" (single-level, non-W3C) capabilities object which has taken everything
|
|
95
118
|
* within the 'appium:options' capability and promoted it to the top level.
|
|
@@ -98,6 +121,6 @@ export function promoteAppiumOptions<C extends Readonly<Record<string, import("@
|
|
|
98
121
|
* @param {NSCapabilities<C>} obj
|
|
99
122
|
* @return {NSCapabilities<C>} the capabilities with 'options' promoted if necessary
|
|
100
123
|
*/
|
|
101
|
-
export function promoteAppiumOptionsForObject<C extends
|
|
124
|
+
export function promoteAppiumOptionsForObject<C extends import("@appium/types").Constraints>(obj: Partial<import("@appium/types").CapsToNSCaps<import("@appium/types").ConstraintsToCaps<C>, "appium">>): Partial<import("@appium/types").CapsToNSCaps<import("@appium/types").ConstraintsToCaps<C>, "appium">>;
|
|
102
125
|
export const PREFIXED_APPIUM_OPTS_CAP: string;
|
|
103
126
|
//# sourceMappingURL=capabilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../lib/basedriver/capabilities.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../lib/basedriver/capabilities.js"],"names":[],"mappings":"AA+FA;;;GAGG;AACH,8FAeE;;;;;uBAsFY,eAAe,CAAC,CAAC,EAAE;6BACnB,aAAa,CAAC,CAAC,EAAE;kBACjB,eAAe,CAAC,CAAC;iBACjB,aAAa,CAAC,CAAC,GAAC,IAAI;sBACpB,MAAM,EAAE;;0BAwPT,OAAO,eAAe,EAAE,WAAW;yBACnC,OAAO,eAAe,EAAE,UAAU;2BAClC,OAAO,eAAe,EAAE,YAAY;uCACpC,OAAO,eAAe,EAAE,wBAAwB;+EAKhD,OAAO,eAAe,EAAE,iBAAiB,CAAC,CAAC,CAAC;;;;;;;4EAU5C,OAAO,eAAe,EAAE,cAAc,CAAC,CAAC,CAAC;0EAKzC,OAAO,eAAe,EAAE,YAAY,CAAC,CAAC,CAAC;6EAKvC,OAAO,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC;6BAK1C,OAAO,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC;;;;mCAKlC,OAAO,WAAW,EAAE,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC;AAtSrD;;;;;;;;;GASG;AAEH;;;;;;;;GAQG;AACH,iNAmGC;AAED;;;;;;;;GAQG;AACH,sRAuBC;AAhTD;;;;;;;GAOG;AACH,gPAwCC;AAlFD;;;;;;;;;;GAUG;AACH,gXAqBC;AAnCD,6CAAuC;AA0KvC;;;;GAIG;AACH,sKAWC;AA5ED;;;GAGG;AACH,mCAHW,MAAM,GACJ,OAAO,CAInB;AAED;;;;;;;GAOG;AACH,8OA0CC;AA6OD;;;;;;;GAOG;AACH,0LAcC;AApFD;;;;;;;GAOG;AACH,gTAoDC;AAlZD,8CAAkE"}
|
|
@@ -16,18 +16,20 @@ const PREFIXED_APPIUM_OPTS_CAP = `${APPIUM_VENDOR_PREFIX}options`;
|
|
|
16
16
|
exports.PREFIXED_APPIUM_OPTS_CAP = PREFIXED_APPIUM_OPTS_CAP;
|
|
17
17
|
/**
|
|
18
18
|
* Takes primary caps object and merges it into a secondary caps object.
|
|
19
|
-
* @template {Constraints}
|
|
20
|
-
* @template {Constraints}
|
|
21
|
-
* @
|
|
22
|
-
* @
|
|
23
|
-
* @
|
|
19
|
+
* @template {Constraints} T
|
|
20
|
+
* @template {Constraints} U
|
|
21
|
+
* @template {Capabilities<T>} Primary
|
|
22
|
+
* @template {Capabilities<U>} Secondary
|
|
23
|
+
* @param {Primary} [primary]
|
|
24
|
+
* @param {Secondary} [secondary]
|
|
25
|
+
* @returns {MergeExclusive<Primary, Secondary>}
|
|
24
26
|
* @see https://www.w3.org/TR/webdriver/#dfn-merging-capabilities)
|
|
25
27
|
*/
|
|
26
|
-
function mergeCaps(primary = {}, secondary = {}) {
|
|
27
|
-
let result = /** @type {
|
|
28
|
+
function mergeCaps(primary = /** @type {Primary} */ ({}), secondary = /** @type {Secondary} */ ({})) {
|
|
29
|
+
let result = /** @type {MergeExclusive<Primary, Secondary>} */ ({
|
|
28
30
|
...primary,
|
|
29
31
|
});
|
|
30
|
-
for (let [name, value] of
|
|
32
|
+
for (let [name, value] of Object.entries(secondary)) {
|
|
31
33
|
// Overwriting is not allowed. Primary and secondary must have different properties (w3c rule 4.4)
|
|
32
34
|
if (!lodash_1.default.isUndefined(primary[name])) {
|
|
33
35
|
throw new errors_1.errors.InvalidArgumentError(`property '${name}' should not exist on both primary (${JSON.stringify(primary)}) and secondary (${JSON.stringify(secondary)}) object`);
|
|
@@ -37,9 +39,9 @@ function mergeCaps(primary = {}, secondary = {}) {
|
|
|
37
39
|
return result;
|
|
38
40
|
}
|
|
39
41
|
exports.mergeCaps = mergeCaps;
|
|
40
|
-
// Validates caps against a set of constraints
|
|
41
42
|
/**
|
|
42
|
-
*
|
|
43
|
+
* Validates caps against a set of constraints
|
|
44
|
+
* @template {Constraints} C
|
|
43
45
|
* @param {Capabilities<C>} caps
|
|
44
46
|
* @param {C} [constraints]
|
|
45
47
|
* @param {ValidateCapsOpts} [opts]
|
|
@@ -105,22 +107,22 @@ function isStandardCap(cap) {
|
|
|
105
107
|
exports.isStandardCap = isStandardCap;
|
|
106
108
|
/**
|
|
107
109
|
* If the 'appium:' prefix was provided and it's a valid capability, strip out the prefix
|
|
108
|
-
* @template {Constraints}
|
|
109
|
-
* @param {
|
|
110
|
+
* @template {Constraints} C
|
|
111
|
+
* @param {NSCapabilities<C>} caps
|
|
110
112
|
* @see https://www.w3.org/TR/webdriver/#dfn-extension-capabilities
|
|
111
113
|
* @internal
|
|
112
|
-
* @returns {
|
|
114
|
+
* @returns {Capabilities<C>}
|
|
113
115
|
*/
|
|
114
116
|
function stripAppiumPrefixes(caps) {
|
|
115
117
|
// split into prefixed and non-prefixed.
|
|
116
118
|
// non-prefixed should be standard caps at this point
|
|
117
119
|
const [prefixedCaps, nonPrefixedCaps] = lodash_1.default.partition(lodash_1.default.keys(caps), (cap) => String(cap).startsWith(APPIUM_VENDOR_PREFIX));
|
|
118
120
|
// initialize this with the k/v pairs of the non-prefixed caps
|
|
119
|
-
let strippedCaps = /** @type {
|
|
121
|
+
let strippedCaps = /** @type {Capabilities<C>} */ (lodash_1.default.pick(caps, nonPrefixedCaps));
|
|
120
122
|
const badPrefixedCaps = [];
|
|
121
123
|
// Strip out the 'appium:' prefix
|
|
122
124
|
for (let prefixedCap of prefixedCaps) {
|
|
123
|
-
const strippedCapName = /** @type {StringKeyOf<
|
|
125
|
+
const strippedCapName = /** @type {StringKeyOf<Capabilities<C>>} */ (prefixedCap.substring(APPIUM_VENDOR_PREFIX.length));
|
|
124
126
|
// If it's standard capability that was prefixed, add it to an array of incorrectly prefixed capabilities
|
|
125
127
|
if (isStandardCap(strippedCapName)) {
|
|
126
128
|
badPrefixedCaps.push(strippedCapName);
|
|
@@ -145,8 +147,8 @@ function stripAppiumPrefixes(caps) {
|
|
|
145
147
|
exports.stripAppiumPrefixes = stripAppiumPrefixes;
|
|
146
148
|
/**
|
|
147
149
|
* Get an array of all the unprefixed caps that are being used in 'alwaysMatch' and all of the 'firstMatch' object
|
|
148
|
-
* @template {Constraints}
|
|
149
|
-
* @param {
|
|
150
|
+
* @template {Constraints} C
|
|
151
|
+
* @param {W3CCapabilities<C>} caps A capabilities object
|
|
150
152
|
*/
|
|
151
153
|
function findNonPrefixedCaps({ alwaysMatch = {}, firstMatch = [] }) {
|
|
152
154
|
return lodash_1.default.chain([alwaysMatch, ...firstMatch])
|
|
@@ -158,13 +160,24 @@ function findNonPrefixedCaps({ alwaysMatch = {}, firstMatch = [] }) {
|
|
|
158
160
|
.value();
|
|
159
161
|
}
|
|
160
162
|
exports.findNonPrefixedCaps = findNonPrefixedCaps;
|
|
163
|
+
/**
|
|
164
|
+
* Returned by {@linkcode parseCaps}
|
|
165
|
+
* @template {Constraints} C
|
|
166
|
+
* @typedef ParsedCaps
|
|
167
|
+
* @property {NSCapabilities<C>[]} allFirstMatchCaps
|
|
168
|
+
* @property {Capabilities<C>[]} validatedFirstMatchCaps
|
|
169
|
+
* @property {NSCapabilities<C>} requiredCaps
|
|
170
|
+
* @property {Capabilities<C>|null} matchedCaps
|
|
171
|
+
* @property {string[]} validationErrors
|
|
172
|
+
*/
|
|
161
173
|
/**
|
|
162
174
|
* Parse capabilities
|
|
163
|
-
* @template {Constraints}
|
|
164
|
-
* @param {
|
|
175
|
+
* @template {Constraints} C
|
|
176
|
+
* @param {W3CCapabilities<C>} caps
|
|
165
177
|
* @param {C} [constraints]
|
|
166
178
|
* @param {boolean} [shouldValidateCaps]
|
|
167
179
|
* @see https://www.w3.org/TR/webdriver/#processing-capabilities
|
|
180
|
+
* @returns {ParsedCaps<C>}
|
|
168
181
|
*/
|
|
169
182
|
function parseCaps(caps, constraints = /** @type {C} */ ({}), shouldValidateCaps = true) {
|
|
170
183
|
// If capabilities request is not an object, return error (#1.1)
|
|
@@ -173,8 +186,8 @@ function parseCaps(caps, constraints = /** @type {C} */ ({}), shouldValidateCaps
|
|
|
173
186
|
}
|
|
174
187
|
// Let 'requiredCaps' be property named 'alwaysMatch' from capabilities request (#2)
|
|
175
188
|
// and 'allFirstMatchCaps' be property named 'firstMatch' from capabilities request (#3)
|
|
176
|
-
let { alwaysMatch: requiredCaps = {}, // If 'requiredCaps' is undefined, set it to an empty JSON object (#2.1)
|
|
177
|
-
firstMatch: allFirstMatchCaps = [{}], // If 'firstMatch' is undefined set it to a singleton list with one empty object (#3.1)
|
|
189
|
+
let { alwaysMatch: requiredCaps = /** @type {NSCapabilities<C>} */ ({}), // If 'requiredCaps' is undefined, set it to an empty JSON object (#2.1)
|
|
190
|
+
firstMatch: allFirstMatchCaps = /** @type {NSCapabilities<C>[]} */ ([{}]), // If 'firstMatch' is undefined set it to a singleton list with one empty object (#3.1)
|
|
178
191
|
} = caps;
|
|
179
192
|
// Reject 'firstMatch' argument if it's not an array (#3.2)
|
|
180
193
|
if (!lodash_1.default.isArray(allFirstMatchCaps)) {
|
|
@@ -194,6 +207,7 @@ function parseCaps(caps, constraints = /** @type {C} */ ({}), shouldValidateCaps
|
|
|
194
207
|
}
|
|
195
208
|
// Strip out the 'appium:' prefix from all
|
|
196
209
|
let strippedRequiredCaps = stripAppiumPrefixes(requiredCaps);
|
|
210
|
+
/** @type {Capabilities<C>[]} */
|
|
197
211
|
let strippedAllFirstMatchCaps = allFirstMatchCaps.map(stripAppiumPrefixes);
|
|
198
212
|
// Validate the requiredCaps. But don't validate 'presence' because if that constraint fails on 'alwaysMatch' it could still pass on one of the 'firstMatch' keys
|
|
199
213
|
if (shouldValidateCaps) {
|
|
@@ -207,11 +221,7 @@ function parseCaps(caps, constraints = /** @type {C} */ ({}), shouldValidateCaps
|
|
|
207
221
|
// Validate all of the first match capabilities and return an array with only the valid caps (see spec #5)
|
|
208
222
|
/** @type {string[]} */
|
|
209
223
|
let validationErrors = [];
|
|
210
|
-
let validatedFirstMatchCaps = lodash_1.default.compact(strippedAllFirstMatchCaps.map(
|
|
211
|
-
/**
|
|
212
|
-
* @param {import('@appium/types').Capabilities<C>} firstMatchCaps
|
|
213
|
-
*/
|
|
214
|
-
(firstMatchCaps) => {
|
|
224
|
+
let validatedFirstMatchCaps = lodash_1.default.compact(strippedAllFirstMatchCaps.map((firstMatchCaps) => {
|
|
215
225
|
try {
|
|
216
226
|
// Validate firstMatch caps
|
|
217
227
|
return shouldValidateCaps
|
|
@@ -222,7 +232,11 @@ function parseCaps(caps, constraints = /** @type {C} */ ({}), shouldValidateCaps
|
|
|
222
232
|
validationErrors.push(e.message);
|
|
223
233
|
}
|
|
224
234
|
}));
|
|
225
|
-
|
|
235
|
+
/**
|
|
236
|
+
* Try to merge requiredCaps with first match capabilities, break once it finds its first match
|
|
237
|
+
* (see spec #6)
|
|
238
|
+
* @type {ParsedCaps<C>['matchedCaps']}
|
|
239
|
+
*/
|
|
226
240
|
let matchedCaps = null;
|
|
227
241
|
for (let firstMatchCaps of validatedFirstMatchCaps) {
|
|
228
242
|
try {
|
|
@@ -246,13 +260,14 @@ function parseCaps(caps, constraints = /** @type {C} */ ({}), shouldValidateCaps
|
|
|
246
260
|
};
|
|
247
261
|
}
|
|
248
262
|
exports.parseCaps = parseCaps;
|
|
249
|
-
// Calls parseCaps and just returns the matchedCaps variable
|
|
250
263
|
/**
|
|
264
|
+
* Calls parseCaps and just returns the matchedCaps variable
|
|
251
265
|
* @template {Constraints} C
|
|
252
|
-
* @
|
|
266
|
+
* @template {W3CCapabilities<C>} W3CCaps
|
|
267
|
+
* @param {W3CCaps} w3cCaps
|
|
253
268
|
* @param {C} [constraints]
|
|
254
269
|
* @param {boolean} [shouldValidateCaps]
|
|
255
|
-
* @returns {
|
|
270
|
+
* @returns {Capabilities<C>}
|
|
256
271
|
*/
|
|
257
272
|
function processCapabilities(w3cCaps, constraints = /** @type {C} */ ({}), shouldValidateCaps = true) {
|
|
258
273
|
const { matchedCaps, validationErrors } = parseCaps(w3cCaps, constraints, shouldValidateCaps);
|
|
@@ -324,8 +339,8 @@ exports.promoteAppiumOptionsForObject = promoteAppiumOptionsForObject;
|
|
|
324
339
|
* capability and promoted it to the top level.
|
|
325
340
|
*
|
|
326
341
|
* @template {Constraints} C
|
|
327
|
-
* @param {
|
|
328
|
-
* @return {
|
|
342
|
+
* @param {W3CCapabilities<C>} originalCaps
|
|
343
|
+
* @return {W3CCapabilities<C>} the capabilities with 'options' promoted if necessary
|
|
329
344
|
*/
|
|
330
345
|
function promoteAppiumOptions(originalCaps) {
|
|
331
346
|
const result = {};
|
|
@@ -360,26 +375,23 @@ exports.promoteAppiumOptions = promoteAppiumOptions;
|
|
|
360
375
|
* @property {boolean} [skipPresenceConstraint] - if true, skip the presence constraint
|
|
361
376
|
*/
|
|
362
377
|
/**
|
|
363
|
-
* @template {Constraints}
|
|
364
|
-
* @
|
|
365
|
-
* @typedef {import('@appium/types').NSCapabilities<C, Extra>} NSCapabilities
|
|
366
|
-
*/
|
|
367
|
-
/**
|
|
368
|
-
* @template {Constraints} [C=BaseDriverCapConstraints]
|
|
369
|
-
* @template {StringRecord|void} [Extra=void]
|
|
370
|
-
* @typedef {import('@appium/types').Capabilities<C, Extra>} Capabilities
|
|
378
|
+
* @template {Constraints} C
|
|
379
|
+
* @typedef {import('@appium/types').NSCapabilities<C>} NSCapabilities
|
|
371
380
|
*/
|
|
372
381
|
/**
|
|
373
|
-
* @template {Constraints}
|
|
374
|
-
* @
|
|
375
|
-
* @typedef {import('@appium/types').W3CCapabilities<C, Extra>} W3CCapabilities
|
|
382
|
+
* @template {Constraints} C
|
|
383
|
+
* @typedef {import('@appium/types').Capabilities<C>} Capabilities
|
|
376
384
|
*/
|
|
377
385
|
/**
|
|
378
|
-
* @template
|
|
379
|
-
* @typedef {import('
|
|
386
|
+
* @template {Constraints} C
|
|
387
|
+
* @typedef {import('@appium/types').W3CCapabilities<C>} W3CCapabilities
|
|
380
388
|
*/
|
|
381
389
|
/**
|
|
382
390
|
* @template T
|
|
383
391
|
* @typedef {import('type-fest').StringKeyOf<T>} StringKeyOf
|
|
384
392
|
*/
|
|
393
|
+
/**
|
|
394
|
+
* @template T,U
|
|
395
|
+
* @typedef {import('type-fest').MergeExclusive<T, U>} MergeExclusive<T,U>
|
|
396
|
+
*/
|
|
385
397
|
//# sourceMappingURL=capabilities.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../../../lib/basedriver/capabilities.js"],"names":[],"mappings":";AAAA,YAAY;;;;;;AAEZ,oDAAuB;AACvB,iDAAyC;AACzC,6CAAqC;AACrC,sDAA2B;AAC3B,+CAA0C;AAE1C,MAAM,oBAAoB,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"capabilities.js","sourceRoot":"","sources":["../../../lib/basedriver/capabilities.js"],"names":[],"mappings":";AAAA,YAAY;;;;;;AAEZ,oDAAuB;AACvB,iDAAyC;AACzC,6CAAqC;AACrC,sDAA2B;AAC3B,+CAA0C;AAE1C,MAAM,oBAAoB,GAAG,SAAS,CAAC;AAkbrC,oDAAoB;AAjbtB,MAAM,wBAAwB,GAAG,GAAG,oBAAoB,SAAS,CAAC;AAubhE,4DAAwB;AArb1B;;;;;;;;;;GAUG;AACH,SAAS,SAAS,CAChB,OAAO,GAAG,sBAAsB,CAAC,CAAC,EAAE,CAAC,EACrC,SAAS,GAAG,wBAAwB,CAAC,CAAC,EAAE,CAAC;IAEzC,IAAI,MAAM,GAAG,iDAAiD,CAAC,CAAC;QAC9D,GAAG,OAAO;KACX,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CAAC,CAAC;KACjE;SAAM,IAAI,aAAa,IAAI,YAAY,EAAE;QACxC,MAAM,CAAC,WAAW,GAAG,WAAW,CAAC;KAClC;IACD,IAAI,gBAAC,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;QACzB,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;KACnE;SAAM,IAAI,YAAY,IAAI,YAAY,EAAE;QACvC,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC;KAChC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAWC,oDAAoB;AAKtB;;;;;GAKG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;GAGG;AAEH;;;GAGG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../../lib/basedriver/commands/event.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../../lib/basedriver/commands/event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,eAAe,CAAC;AAK1D,OAAO,QAAQ,WAAW,CAAC;IAEzB,UAAU,UAAU,CAAC,CAAC,SAAS,WAAW,CAAE,SAAQ,cAAc;KAAG;CACtE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../lib/basedriver/commands/event.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../lib/basedriver/commands/event.ts"],"names":[],"mappings":";;;;;AACA,oDAAuB;AAEvB,mCAA8B;AAO9B,MAAM,aAAa,GAAmB;IACpC;;;;;;OAMG;IACH,KAAK,CAAC,cAAc,CAA6C,MAAc,EAAE,KAAa;QAC5F,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,IAAI,KAAK,EAAE,CAAC,CAAC;IACtC,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CAA6C,IAAuB;QACpF,IAAI,gBAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;YACnB,OAAO,IAAI,CAAC,YAAY,CAAC;SAC1B;QAED,MAAM,QAAQ,GAAG,gBAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QAEnC,OAAO,gBAAC,CAAC,MAAM,CACb,IAAI,CAAC,YAAY,EACjB,CAAC,GAAG,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE;YAC7B,IAAI,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE;gBAChC,GAAG,CAAC,SAAS,CAAC,GAAG,UAAU,CAAC;aAC7B;YACD,OAAO,GAAG,CAAC;QACb,CAAC,EACD,EAAE,CACH,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,IAAA,aAAK,EAAC,aAAa,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.d.ts","sourceRoot":"","sources":["../../../../lib/basedriver/commands/execute.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"execute.d.ts","sourceRoot":"","sources":["../../../../lib/basedriver/commands/execute.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EAIX,gBAAgB,EAEjB,MAAM,eAAe,CAAC;AAIvB,OAAO,QAAQ,WAAW,CAAC;IAEzB,UAAU,UAAU,CAAC,CAAC,SAAS,WAAW,CAAE,SAAQ,gBAAgB;KAAG;CACxE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../../lib/basedriver/commands/execute.ts"],"names":[],"mappings":";;;;;AAAA,oDAAuB;AACvB,6CAAmE;AASnE,mCAA8B;
|
|
1
|
+
{"version":3,"file":"execute.js","sourceRoot":"","sources":["../../../../lib/basedriver/commands/execute.ts"],"names":[],"mappings":";;;;;AAAA,oDAAuB;AACvB,6CAAmE;AASnE,mCAA8B;AAQ9B,MAAM,eAAe,GAAqB;IACxC,KAAK,CAAC,aAAa,CAEjB,MAAc,EACd,SAAgE;QAEhE,MAAM,MAAM,GAAG,IAAI,CAAC,WAAqC,CAAC;QAC1D,MAAM,eAAe,GAAG,EAAC,GAAG,MAAM,CAAC,gBAAgB,EAAE,CAAC,MAAM,CAAC,EAAC,CAAC;QAC/D,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE;YAC5B,MAAM,gBAAgB,GAAG,gBAAC,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC;YACzD,MAAM,IAAI,iBAAM,CAAC,yBAAyB,CACxC,+BAA+B,MAAM,uBAAuB;gBAC1D,QAAQ,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CACxC,CAAC;SACH;QACD,MAAM,IAAI,GAAG,IAAA,sCAA2B,EAAC,SAAS,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;QAC5E,MAAM,OAAO,GAAG,IAAI,CAAC,eAAe,CAAC,OAAO,CAAkB,CAAC;QAC/D,OAAO,MAAM,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,CAAC;IAC3C,CAAC;CACF,CAAC;AAEF,IAAA,aAAK,EAAC,eAAe,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../../lib/basedriver/commands/find.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../../lib/basedriver/commands/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,aAAa,EAAC,MAAM,eAAe,CAAC;AAKzD,OAAO,QAAQ,WAAW,CAAC;IAEzB,UAAU,UAAU,CAAC,CAAC,SAAS,WAAW,CAAE,SAAQ,aAAa;KAAG;CACrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find.js","sourceRoot":"","sources":["../../../../lib/basedriver/commands/find.ts"],"names":[],"mappings":";;AACA,6CAAsC;AAEtC,mCAA8B;
|
|
1
|
+
{"version":3,"file":"find.js","sourceRoot":"","sources":["../../../../lib/basedriver/commands/find.ts"],"names":[],"mappings":";;AACA,6CAAsC;AAEtC,mCAA8B;AAO9B,MAAM,YAAY,GAAkB;IAClC,KAAK,CAAC,WAAW,CAA6C,QAAQ,EAAE,QAAQ;QAC9E,OAAO,MAAM,IAAI,CAAC,yBAAyB,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;IACzE,CAAC;IAED,KAAK,CAAC,YAAY,CAA6C,QAAQ,EAAE,QAAQ;QAC/E,OAAO,MAAM,IAAI,CAAC,yBAAyB,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;IAED,KAAK,CAAC,sBAAsB,CAE1B,QAAgB,EAChB,QAAgB,EAChB,SAAiB;QAEjB,OAAO,MAAM,IAAI,CAAC,yBAAyB,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;IACpF,CAAC;IAED,KAAK,CAAC,uBAAuB,CAE3B,QAAgB,EAChB,QAAgB,EAChB,SAAiB;QAEjB,OAAO,MAAM,IAAI,CAAC,yBAAyB,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;IACnF,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,WAAW,CAEf,QAAgB,EAChB,QAAgB,EAChB,IAAU,EACV,OAAY;QAEZ,MAAM,IAAI,iBAAM,CAAC,mBAAmB,CAAC,+BAA+B,CAAC,CAAC;IACxE,CAAC;IAED,KAAK,CAAC,aAAa;QACjB,MAAM,IAAI,iBAAM,CAAC,mBAAmB,CAAC,+BAA+B,CAAC,CAAC;IACxE,CAAC;IAED,KAAK,CAAC,yBAAyB,CAE7B,QAAgB,EAChB,QAAgB,EAChB,IAAU,EACV,OAAa;QAEb,IAAI,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC;QACvC,IAAI;YACF,OAAO,MAAM,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;SAClE;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,IAAI,CAAC,IAAI,CAAC,4BAA4B,EAAE;gBAC1C,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,aAAa,EAAE,CAAC;gBACvC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,wBAAwB,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;gBAC1E,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,+DAA+D,CAAC,CAAC;gBAChF,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;aACrB;YACD,gCAAgC;YAChC,MAAM,GAAG,CAAC;SACX;IACH,CAAC;CACF,CAAC;AAEF,IAAA,aAAK,EAAC,YAAY,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import './event';
|
|
2
|
+
import './find';
|
|
3
|
+
import './log';
|
|
4
|
+
import './session';
|
|
5
|
+
import './settings';
|
|
6
|
+
import './timeout';
|
|
7
|
+
import './execute';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/basedriver/commands/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/basedriver/commands/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,CAAC;AACjB,OAAO,QAAQ,CAAC;AAChB,OAAO,OAAO,CAAC;AACf,OAAO,WAAW,CAAC;AACnB,OAAO,YAAY,CAAC;AACpB,OAAO,WAAW,CAAC;AACnB,OAAO,WAAW,CAAC"}
|
|
@@ -1,24 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
3
|
+
require("./event");
|
|
4
|
+
require("./find");
|
|
5
|
+
require("./log");
|
|
6
|
+
require("./session");
|
|
7
|
+
require("./settings");
|
|
8
|
+
require("./timeout");
|
|
9
|
+
require("./execute");
|
|
24
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/basedriver/commands/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../lib/basedriver/commands/index.ts"],"names":[],"mappings":";;AAAA,mBAAiB;AACjB,kBAAgB;AAChB,iBAAe;AACf,qBAAmB;AACnB,sBAAoB;AACpB,qBAAmB;AACnB,qBAAmB"}
|