@appium/fake-driver 5.1.3 → 5.1.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/commands/alert.d.ts +58 -310
- package/build/lib/commands/alert.d.ts.map +1 -1
- package/build/lib/commands/alert.js +58 -69
- package/build/lib/commands/alert.js.map +1 -1
- package/build/lib/commands/contexts.d.ts +81 -330
- package/build/lib/commands/contexts.d.ts.map +1 -1
- package/build/lib/commands/contexts.js +75 -84
- package/build/lib/commands/contexts.js.map +1 -1
- package/build/lib/commands/element.d.ts +146 -315
- package/build/lib/commands/element.d.ts.map +1 -1
- package/build/lib/commands/element.js +134 -98
- package/build/lib/commands/element.js.map +1 -1
- package/build/lib/commands/find.d.ts +83 -327
- package/build/lib/commands/find.d.ts.map +1 -1
- package/build/lib/commands/find.js +93 -97
- package/build/lib/commands/find.js.map +1 -1
- package/build/lib/commands/general.d.ts +174 -332
- package/build/lib/commands/general.d.ts.map +1 -1
- package/build/lib/commands/general.js +119 -90
- package/build/lib/commands/general.js.map +1 -1
- package/build/lib/commands/index.d.ts +5 -1523
- package/build/lib/commands/index.d.ts.map +1 -1
- package/build/lib/commands/index.js +14 -14
- package/build/lib/commands/index.js.map +1 -1
- package/build/lib/driver.d.ts +80 -15
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/driver.js +74 -24
- package/build/lib/driver.js.map +1 -1
- package/build/lib/types.d.ts +1 -24
- package/build/lib/types.d.ts.map +1 -1
- package/lib/commands/alert.js +58 -67
- package/lib/commands/contexts.js +72 -81
- package/lib/commands/element.js +135 -94
- package/lib/commands/find.js +94 -98
- package/lib/commands/general.js +119 -91
- package/lib/commands/index.js +5 -13
- package/lib/driver.js +76 -20
- package/lib/types.ts +1 -29
- package/package.json +4 -3
- package/build/tsconfig.tsbuildinfo +0 -1
|
@@ -1,316 +1,147 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
touchDown?(x: number, y: number): Promise<void>;
|
|
148
|
-
touchUp?(x: number, y: number): Promise<void>;
|
|
149
|
-
touchMove?(x: number, y: number): Promise<void>;
|
|
150
|
-
touchLongClick?(elementId: string): Promise<void>;
|
|
151
|
-
flick?(element?: string | undefined, xSpeed?: number | undefined, ySpeed?: number | undefined, xOffset?: number | undefined, yOffset?: number | undefined, speed?: number | undefined): Promise<void>;
|
|
152
|
-
getGeoLocation?(): Promise<import("@appium/types").Location>;
|
|
153
|
-
setGeoLocation?(location: Partial<import("@appium/types").Location>): Promise<void>;
|
|
154
|
-
getCurrentContext?(): Promise<string | null>;
|
|
155
|
-
setContext?(name: string): Promise<void>;
|
|
156
|
-
getContexts?(): Promise<string[]>;
|
|
157
|
-
getPageIndex?(elementId: string): Promise<string>;
|
|
158
|
-
getNetworkConnection?(): Promise<number>;
|
|
159
|
-
setNetworkConnection?(type: number): Promise<void>;
|
|
160
|
-
performTouch?(actions: unknown): Promise<void>;
|
|
161
|
-
performMultiAction?(actions: unknown, elementId: string): Promise<void>;
|
|
162
|
-
getRotation?(): Promise<import("@appium/types").Rotation>;
|
|
163
|
-
setRotation?(x: number, y: number, z: number): Promise<void>;
|
|
164
|
-
executeCdp?(cmd: string, params: unknown): Promise<unknown>;
|
|
165
|
-
addVirtualAuthenticator?(protocol: "ctap/u2f" | "ctap2" | "ctap2_1", transport: string, hasResidentKey?: boolean | undefined, hasUserVerification?: boolean | undefined, isUserConsenting?: boolean | undefined, isUserVerified?: boolean | undefined): Promise<string>;
|
|
166
|
-
removeVirtualAuthenticator?(authenticatorId: string): Promise<void>;
|
|
167
|
-
addAuthCredential?(credentialId: string, isResidentCredential: boolean, rpId: string, privateKey: string, userHandle: string, signCount: number, authenticatorId: string): Promise<void>;
|
|
168
|
-
getAuthCredential?(): Promise<import("@appium/types").Credential[]>;
|
|
169
|
-
removeAllAuthCredentials?(): Promise<void>;
|
|
170
|
-
removeAuthCredential?(credentialId: string, authenticatorId: string): Promise<void>;
|
|
171
|
-
setUserAuthVerified?(isUserVerified: boolean, authenticatorId: string): Promise<void>;
|
|
172
|
-
proxyCommand?<T_1 = any>(url: string, method: import("@appium/types").HTTPMethod, body?: string | undefined): Promise<T_1>;
|
|
173
|
-
cliArgs: import("@appium/types").StringRecord;
|
|
174
|
-
executeCommand(cmd: string, ...args: any[]): Promise<any>;
|
|
175
|
-
startUnexpectedShutdown(err?: Error | undefined): Promise<void>;
|
|
176
|
-
startNewCommandTimeout(): Promise<void>;
|
|
177
|
-
reset(): Promise<void>;
|
|
178
|
-
caps?: Partial<import("@appium/types").ConstraintsToCaps<{
|
|
179
|
-
readonly app: {
|
|
180
|
-
readonly presence: true;
|
|
181
|
-
readonly isString: true;
|
|
182
|
-
};
|
|
183
|
-
readonly uniqueApp: {
|
|
184
|
-
readonly isBoolean: true;
|
|
185
|
-
};
|
|
186
|
-
}> & void> | undefined;
|
|
187
|
-
originalCaps?: import("@appium/types").W3CCapabilities<{
|
|
188
|
-
readonly app: {
|
|
189
|
-
readonly presence: true;
|
|
190
|
-
readonly isString: true;
|
|
191
|
-
};
|
|
192
|
-
readonly uniqueApp: {
|
|
193
|
-
readonly isBoolean: true;
|
|
194
|
-
};
|
|
195
|
-
}, void> | undefined;
|
|
196
|
-
desiredCapConstraints: {
|
|
197
|
-
readonly app: {
|
|
198
|
-
readonly presence: true;
|
|
199
|
-
readonly isString: true;
|
|
200
|
-
};
|
|
201
|
-
readonly uniqueApp: {
|
|
202
|
-
readonly isBoolean: true;
|
|
203
|
-
};
|
|
204
|
-
};
|
|
205
|
-
assignServer?(server: import("@appium/types").AppiumServer, host: string, port: number, path: string): void;
|
|
206
|
-
getSessions(): Promise<import("@appium/types").MultiSessionData<typeof import("@appium/types").BASE_DESIRED_CAP_CONSTRAINTS, void>[]>;
|
|
207
|
-
getSession(): Promise<import("@appium/types").SingularSessionData<typeof import("@appium/types").BASE_DESIRED_CAP_CONSTRAINTS, void>>;
|
|
208
|
-
supportedLogTypes: Readonly<import("@appium/types").LogDefRecord<{
|
|
209
|
-
readonly app: {
|
|
210
|
-
readonly presence: true;
|
|
211
|
-
readonly isString: true;
|
|
212
|
-
};
|
|
213
|
-
readonly uniqueApp: {
|
|
214
|
-
readonly isBoolean: true;
|
|
215
|
-
};
|
|
216
|
-
}>>;
|
|
217
|
-
getLogTypes(): Promise<string[]>;
|
|
218
|
-
getLog(logType: string): Promise<unknown[]>;
|
|
219
|
-
findElement(strategy: string, selector: string): Promise<import("@appium/types").Element>;
|
|
220
|
-
findElements(strategy: string, selector: string): Promise<import("@appium/types").Element[]>;
|
|
221
|
-
findElementFromElement(strategy: string, selector: string, elementId: string): Promise<import("@appium/types").Element>;
|
|
222
|
-
findElementsFromElement(strategy: string, selector: string, elementId: string): Promise<import("@appium/types").Element[]>;
|
|
223
|
-
findElementFromShadowRoot?(strategy: string, selector: string, shadowId: string): Promise<import("@appium/types").Element>;
|
|
224
|
-
findElementsFromShadowRoot?(strategy: string, selector: string, shadowId: string): Promise<import("@appium/types").Element[]>;
|
|
225
|
-
findElOrEls<Mult extends boolean>(strategy: string, selector: string, mult: Mult, context?: any): Promise<Mult extends true ? import("@appium/types").Element[] : import("@appium/types").Element>;
|
|
226
|
-
findElOrElsWithProcessing<Mult_1 extends boolean>(strategy: string, selector: string, mult: Mult_1, context?: any): Promise<Mult_1 extends true ? import("@appium/types").Element[] : import("@appium/types").Element>;
|
|
227
|
-
getPageSource(): Promise<string>;
|
|
228
|
-
updateSettings: (settings: import("@appium/types").StringRecord) => Promise<void>;
|
|
229
|
-
getSettings(): Promise<import("@appium/types").StringRecord>;
|
|
230
|
-
timeouts(type: string, ms: string | number, script?: number | undefined, pageLoad?: number | undefined, implicit?: string | number | undefined): Promise<void>;
|
|
231
|
-
setNewCommandTimeout(ms: number): void;
|
|
232
|
-
implicitWait(ms: string | number): Promise<void>;
|
|
233
|
-
setImplicitWait(ms: number): void;
|
|
234
|
-
implicitWaitForCondition(condition: () => Promise<any>): Promise<unknown>;
|
|
235
|
-
getTimeouts(): Promise<Record<string, number>>;
|
|
236
|
-
implicitWaitW3C(ms: number): Promise<void>;
|
|
237
|
-
implicitWaitMJSONWP(ms: number): Promise<void>;
|
|
238
|
-
pageLoadTimeoutW3C(ms: number): Promise<void>;
|
|
239
|
-
pageLoadTimeoutMJSONWP(ms: number): Promise<void>;
|
|
240
|
-
scriptTimeoutW3C(ms: number): Promise<void>;
|
|
241
|
-
scriptTimeoutMJSONWP(ms: number): Promise<void>;
|
|
242
|
-
newCommandTimeout(ms: number): Promise<void>;
|
|
243
|
-
parseTimeoutArgument(ms: string | number): number;
|
|
244
|
-
logCustomEvent(vendor: string, event: string): Promise<void>;
|
|
245
|
-
getLogEvents(type?: string | string[] | undefined): Promise<import("@appium/types").EventHistory | Record<string, number>>;
|
|
246
|
-
executeMethod(script: string, args: [] | [import("@appium/types").StringRecord]): Promise<any>;
|
|
247
|
-
createSession(w3cCaps1: import("@appium/types").W3CCapabilities<{
|
|
248
|
-
readonly app: {
|
|
249
|
-
readonly presence: true;
|
|
250
|
-
readonly isString: true;
|
|
251
|
-
};
|
|
252
|
-
readonly uniqueApp: {
|
|
253
|
-
readonly isBoolean: true;
|
|
254
|
-
};
|
|
255
|
-
}, void>, w3cCaps2?: import("@appium/types").W3CCapabilities<{
|
|
256
|
-
readonly app: {
|
|
257
|
-
readonly presence: true;
|
|
258
|
-
readonly isString: true;
|
|
259
|
-
};
|
|
260
|
-
readonly uniqueApp: {
|
|
261
|
-
readonly isBoolean: true;
|
|
262
|
-
};
|
|
263
|
-
}, void> | undefined, w3cCaps3?: import("@appium/types").W3CCapabilities<{
|
|
264
|
-
readonly app: {
|
|
265
|
-
readonly presence: true;
|
|
266
|
-
readonly isString: true;
|
|
267
|
-
};
|
|
268
|
-
readonly uniqueApp: {
|
|
269
|
-
readonly isBoolean: true;
|
|
270
|
-
};
|
|
271
|
-
}, void> | undefined, driverData?: import("@appium/types").DriverData[] | undefined): Promise<[string, any]>;
|
|
272
|
-
deleteSession(sessionId?: string | undefined, driverData?: import("@appium/types").DriverData[] | undefined): Promise<void>;
|
|
273
|
-
shouldValidateCaps: boolean;
|
|
274
|
-
sessionId: string | null;
|
|
275
|
-
opts: import("@appium/types").DriverOpts<typeof import("@appium/types").BASE_DESIRED_CAP_CONSTRAINTS>;
|
|
276
|
-
initialOpts: import("@appium/types").ServerArgs;
|
|
277
|
-
protocol?: string | undefined;
|
|
278
|
-
helpers: import("@appium/types").DriverHelpers<typeof import("@appium/types").BASE_DESIRED_CAP_CONSTRAINTS>;
|
|
279
|
-
basePath: string;
|
|
280
|
-
relaxedSecurityEnabled: boolean;
|
|
281
|
-
allowInsecure: string[];
|
|
282
|
-
denyInsecure: string[];
|
|
283
|
-
newCommandTimeoutMs: number;
|
|
284
|
-
implicitWaitMs: number;
|
|
285
|
-
locatorStrategies: string[];
|
|
286
|
-
webLocatorStrategies: string[];
|
|
287
|
-
eventEmitter: import("events");
|
|
288
|
-
settings: import("@appium/types").DeviceSettings<any>;
|
|
289
|
-
log: import("@appium/types").AppiumLogger;
|
|
290
|
-
driverData?: import("@appium/types").DriverData | undefined;
|
|
291
|
-
isCommandsQueueEnabled: boolean;
|
|
292
|
-
eventHistory: import("@appium/types").EventHistory;
|
|
293
|
-
onUnexpectedShutdown(handler: () => any): void;
|
|
294
|
-
getStatus(): Promise<any>;
|
|
295
|
-
sessionExists(sessionId: string): boolean;
|
|
296
|
-
isW3CProtocol(): boolean;
|
|
297
|
-
isMjsonwpProtocol(): boolean;
|
|
298
|
-
isFeatureEnabled(name: string): boolean;
|
|
299
|
-
assertFeatureEnabled(name: string): void;
|
|
300
|
-
validateLocatorStrategy(strategy: string, webContext?: boolean | undefined): void;
|
|
301
|
-
proxyActive(sessionId?: string | undefined): boolean;
|
|
302
|
-
getProxyAvoidList(sessionId?: string | undefined): import("@appium/types").RouteMatcher[];
|
|
303
|
-
canProxy(sessionId?: string | undefined): boolean;
|
|
304
|
-
proxyRouteIsAvoided(sessionId: string, method: string, url: string): boolean;
|
|
305
|
-
addManagedDriver(driver: import("@appium/types").Driver<typeof import("@appium/types").BASE_DESIRED_CAP_CONSTRAINTS, import("@appium/types").StringRecord, any>): void;
|
|
306
|
-
getManagedDrivers(): import("@appium/types").Driver<typeof import("@appium/types").BASE_DESIRED_CAP_CONSTRAINTS, import("@appium/types").StringRecord, any>[];
|
|
307
|
-
clearNewCommandTimeout(): Promise<void>;
|
|
308
|
-
logEvent(eventName: string): void;
|
|
309
|
-
driverForSession(sessionId: string): import("@appium/types").Core<typeof import("@appium/types").BASE_DESIRED_CAP_CONSTRAINTS> | null;
|
|
310
|
-
assertNoAlert(): void;
|
|
311
|
-
};
|
|
312
|
-
} & T;
|
|
313
|
-
export type FakeDriverCore = import('../driver').FakeDriverCore;
|
|
314
|
-
export type IElementCommands = import('../types').IElementCommands;
|
|
315
|
-
export type Class<T, U = {}, V = any[]> = import('@appium/types').Class<T, U, V>;
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
/**
|
|
3
|
+
* @this {FakeDriver}
|
|
4
|
+
*/
|
|
5
|
+
function getElements(this: import("../driver").FakeDriver, elIds: any): any;
|
|
6
|
+
/**
|
|
7
|
+
* @this {FakeDriver}
|
|
8
|
+
*/
|
|
9
|
+
function getElements(this: import("../driver").FakeDriver, elIds: any): any;
|
|
10
|
+
/**
|
|
11
|
+
* @this {FakeDriver}
|
|
12
|
+
*/
|
|
13
|
+
function getElement(this: import("../driver").FakeDriver, elId: any): any;
|
|
14
|
+
/**
|
|
15
|
+
* @this {FakeDriver}
|
|
16
|
+
*/
|
|
17
|
+
function getElement(this: import("../driver").FakeDriver, elId: any): any;
|
|
18
|
+
/**
|
|
19
|
+
* @this {FakeDriver}
|
|
20
|
+
*/
|
|
21
|
+
function getName(this: import("../driver").FakeDriver, elementId: any): Promise<any>;
|
|
22
|
+
/**
|
|
23
|
+
* @this {FakeDriver}
|
|
24
|
+
*/
|
|
25
|
+
function getName(this: import("../driver").FakeDriver, elementId: any): Promise<any>;
|
|
26
|
+
/**
|
|
27
|
+
* @this {FakeDriver}
|
|
28
|
+
*/
|
|
29
|
+
function elementDisplayed(this: import("../driver").FakeDriver, elementId: any): Promise<any>;
|
|
30
|
+
/**
|
|
31
|
+
* @this {FakeDriver}
|
|
32
|
+
*/
|
|
33
|
+
function elementDisplayed(this: import("../driver").FakeDriver, elementId: any): Promise<any>;
|
|
34
|
+
/**
|
|
35
|
+
* @this {FakeDriver}
|
|
36
|
+
*/
|
|
37
|
+
function elementEnabled(this: import("../driver").FakeDriver, elementId: any): Promise<any>;
|
|
38
|
+
/**
|
|
39
|
+
* @this {FakeDriver}
|
|
40
|
+
*/
|
|
41
|
+
function elementEnabled(this: import("../driver").FakeDriver, elementId: any): Promise<any>;
|
|
42
|
+
/**
|
|
43
|
+
* @this {FakeDriver}
|
|
44
|
+
*/
|
|
45
|
+
function elementSelected(this: import("../driver").FakeDriver, elementId: any): Promise<any>;
|
|
46
|
+
/**
|
|
47
|
+
* @this {FakeDriver}
|
|
48
|
+
*/
|
|
49
|
+
function elementSelected(this: import("../driver").FakeDriver, elementId: any): Promise<any>;
|
|
50
|
+
/**
|
|
51
|
+
* @this {FakeDriver}
|
|
52
|
+
*/
|
|
53
|
+
function setValue(this: import("../driver").FakeDriver, keys: any, elementId: any): Promise<void>;
|
|
54
|
+
/**
|
|
55
|
+
* @this {FakeDriver}
|
|
56
|
+
*/
|
|
57
|
+
function setValue(this: import("../driver").FakeDriver, keys: any, elementId: any): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* @this {FakeDriver}
|
|
60
|
+
*/
|
|
61
|
+
function getText(this: import("../driver").FakeDriver, elementId: any): Promise<any>;
|
|
62
|
+
/**
|
|
63
|
+
* @this {FakeDriver}
|
|
64
|
+
*/
|
|
65
|
+
function getText(this: import("../driver").FakeDriver, elementId: any): Promise<any>;
|
|
66
|
+
/**
|
|
67
|
+
* @this {FakeDriver}
|
|
68
|
+
*/
|
|
69
|
+
function clear(this: import("../driver").FakeDriver, elementId: any): Promise<void>;
|
|
70
|
+
/**
|
|
71
|
+
* @this {FakeDriver}
|
|
72
|
+
*/
|
|
73
|
+
function clear(this: import("../driver").FakeDriver, elementId: any): Promise<void>;
|
|
74
|
+
/**
|
|
75
|
+
* This comment should be displayed instead of the one from ExternalDriver
|
|
76
|
+
* @param {string} elementId
|
|
77
|
+
* @this {FakeDriver}
|
|
78
|
+
*/
|
|
79
|
+
function click(this: import("../driver").FakeDriver, elementId: string): Promise<void>;
|
|
80
|
+
/**
|
|
81
|
+
* This comment should be displayed instead of the one from ExternalDriver
|
|
82
|
+
* @param {string} elementId
|
|
83
|
+
* @this {FakeDriver}
|
|
84
|
+
*/
|
|
85
|
+
function click(this: import("../driver").FakeDriver, elementId: string): Promise<void>;
|
|
86
|
+
/**
|
|
87
|
+
* @this {FakeDriver}
|
|
88
|
+
*/
|
|
89
|
+
function getAttribute(this: import("../driver").FakeDriver, attr: any, elementId: any): Promise<any>;
|
|
90
|
+
/**
|
|
91
|
+
* @this {FakeDriver}
|
|
92
|
+
*/
|
|
93
|
+
function getAttribute(this: import("../driver").FakeDriver, attr: any, elementId: any): Promise<any>;
|
|
94
|
+
/**
|
|
95
|
+
* @this {FakeDriver}
|
|
96
|
+
*/
|
|
97
|
+
function getElementRect(this: import("../driver").FakeDriver, elementId: any): any;
|
|
98
|
+
/**
|
|
99
|
+
* @this {FakeDriver}
|
|
100
|
+
*/
|
|
101
|
+
function getElementRect(this: import("../driver").FakeDriver, elementId: any): any;
|
|
102
|
+
/**
|
|
103
|
+
* @this {FakeDriver}
|
|
104
|
+
*/
|
|
105
|
+
function getSize(this: import("../driver").FakeDriver, elementId: any): any;
|
|
106
|
+
/**
|
|
107
|
+
* @this {FakeDriver}
|
|
108
|
+
*/
|
|
109
|
+
function getSize(this: import("../driver").FakeDriver, elementId: any): any;
|
|
110
|
+
/**
|
|
111
|
+
* @this {FakeDriver}
|
|
112
|
+
*/
|
|
113
|
+
function equalsElement(this: import("../driver").FakeDriver, el1Id: any, el2Id: any): any;
|
|
114
|
+
/**
|
|
115
|
+
* @this {FakeDriver}
|
|
116
|
+
*/
|
|
117
|
+
function equalsElement(this: import("../driver").FakeDriver, el1Id: any, el2Id: any): any;
|
|
118
|
+
/**
|
|
119
|
+
* @this {FakeDriver}
|
|
120
|
+
*/
|
|
121
|
+
function getCssProperty(this: import("../driver").FakeDriver, prop: any, elementId: any): Promise<any>;
|
|
122
|
+
/**
|
|
123
|
+
* @this {FakeDriver}
|
|
124
|
+
*/
|
|
125
|
+
function getCssProperty(this: import("../driver").FakeDriver, prop: any, elementId: any): Promise<any>;
|
|
126
|
+
/**
|
|
127
|
+
* @param {string} elementId
|
|
128
|
+
* @this {FakeDriver}
|
|
129
|
+
*/
|
|
130
|
+
function getLocation(this: import("../driver").FakeDriver, elementId: string): Promise<any>;
|
|
131
|
+
/**
|
|
132
|
+
* @param {string} elementId
|
|
133
|
+
* @this {FakeDriver}
|
|
134
|
+
*/
|
|
135
|
+
function getLocation(this: import("../driver").FakeDriver, elementId: string): Promise<any>;
|
|
136
|
+
/**
|
|
137
|
+
* @this {FakeDriver}
|
|
138
|
+
*/
|
|
139
|
+
function getLocationInView(this: import("../driver").FakeDriver, elementId: any): Promise<any>;
|
|
140
|
+
/**
|
|
141
|
+
* @this {FakeDriver}
|
|
142
|
+
*/
|
|
143
|
+
function getLocationInView(this: import("../driver").FakeDriver, elementId: any): Promise<any>;
|
|
144
|
+
}
|
|
145
|
+
export default _default;
|
|
146
|
+
export type FakeDriver = import('../driver').FakeDriver;
|
|
316
147
|
//# sourceMappingURL=element.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"element.d.ts","sourceRoot":"","sources":["../../../lib/commands/element.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"element.d.ts","sourceRoot":"","sources":["../../../lib/commands/element.js"],"names":[],"mappings":";IAGE;;OAEG;IACH,4EAOC;IAVD;;OAEG;IACH,4EAOC;IAED;;OAEG;IACH,0EAEC;IALD;;OAEG;IACH,0EAEC;IAED;;OAEG;IACH,qFAGC;IAND;;OAEG;IACH,qFAGC;IAED;;OAEG;IACH,8FAGC;IAND;;OAEG;IACH,8FAGC;IAED;;OAEG;IACH,4FAGC;IAND;;OAEG;IACH,4FAGC;IAED;;OAEG;IACH,6FAGC;IAND;;OAEG;IACH,6FAGC;IAED;;OAEG;IACH,kGAUC;IAbD;;OAEG;IACH,kGAUC;IAED;;OAEG;IACH,qFAGC;IAND;;OAEG;IACH,qFAGC;IAED;;OAEG;IACH,oFAEC;IALD;;OAEG;IACH,oFAEC;IAED;;;;OAIG;IACH,uFAQC;IAbD;;;;OAIG;IACH,uFAQC;IAED;;OAEG;IACH,qGAGC;IAND;;OAEG;IACH,qGAGC;IAED;;OAEG;IACH,mFAGC;IAND;;OAEG;IACH,mFAGC;IAED;;OAEG;IACH,4EAGC;IAND;;OAEG;IACH,4EAGC;IAED;;OAEG;IACH,0FAIC;IAPD;;OAEG;IACH,0FAIC;IAED;;OAEG;IACH,uGAIC;IAPD;;OAEG;IACH,uGAIC;IAED;;;OAGG;IACH,4FAGC;IAPD;;;OAGG;IACH,4FAGC;IAED;;OAEG;IACH,+FAEC;IALD;;OAEG;IACH,+FAEC;;;yBAIU,OAAO,WAAW,EAAE,UAAU"}
|