@appium/types 1.0.0 → 1.0.1
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/capabilities.d.ts +1 -2
- package/build/lib/capabilities.d.ts.map +1 -1
- package/build/lib/{command.d.ts → command-maps.d.ts} +1 -1
- package/build/lib/command-maps.d.ts.map +1 -0
- package/build/lib/command-maps.js +4 -0
- package/build/lib/command-maps.js.map +1 -0
- package/build/lib/commands/appium.d.ts +100 -0
- package/build/lib/commands/appium.d.ts.map +1 -0
- package/build/lib/{command.js → commands/appium.js} +1 -2
- package/build/lib/commands/appium.js.map +1 -0
- package/build/lib/commands/basedriver.d.ts +370 -0
- package/build/lib/commands/basedriver.d.ts.map +1 -0
- package/build/lib/commands/basedriver.js +3 -0
- package/build/lib/commands/basedriver.js.map +1 -0
- package/build/lib/commands/index.d.ts +7 -0
- package/build/lib/commands/index.d.ts.map +1 -0
- package/build/lib/commands/index.js +23 -0
- package/build/lib/commands/index.js.map +1 -0
- package/build/lib/commands/jsonwp.d.ts +37 -0
- package/build/lib/commands/jsonwp.d.ts.map +1 -0
- package/build/lib/commands/jsonwp.js +3 -0
- package/build/lib/commands/jsonwp.js.map +1 -0
- package/build/lib/commands/mjsonwp.d.ts +65 -0
- package/build/lib/commands/mjsonwp.d.ts.map +1 -0
- package/build/lib/commands/mjsonwp.js +3 -0
- package/build/lib/commands/mjsonwp.js.map +1 -0
- package/build/lib/commands/other-protocols.d.ts +85 -0
- package/build/lib/commands/other-protocols.d.ts.map +1 -0
- package/build/lib/commands/other-protocols.js +3 -0
- package/build/lib/commands/other-protocols.js.map +1 -0
- package/build/lib/commands/webdriver.d.ts +418 -0
- package/build/lib/commands/webdriver.d.ts.map +1 -0
- package/build/lib/commands/webdriver.js +3 -0
- package/build/lib/commands/webdriver.js.map +1 -0
- package/build/lib/constraints.d.ts +19 -0
- package/build/lib/constraints.d.ts.map +1 -1
- package/build/lib/constraints.js.map +1 -1
- package/build/lib/driver.d.ts +9 -1056
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/index.d.ts +2 -1
- package/build/lib/index.d.ts.map +1 -1
- package/build/lib/index.js +2 -1
- package/build/lib/index.js.map +1 -1
- package/build/lib/plugin.d.ts +1 -1
- package/build/lib/plugin.d.ts.map +1 -1
- package/lib/capabilities.ts +1 -2
- package/lib/commands/appium.ts +115 -0
- package/lib/commands/basedriver.ts +476 -0
- package/lib/commands/index.ts +6 -0
- package/lib/commands/jsonwp.ts +41 -0
- package/lib/commands/mjsonwp.ts +71 -0
- package/lib/commands/other-protocols.ts +113 -0
- package/lib/commands/webdriver.ts +475 -0
- package/lib/constraints.ts +18 -1
- package/lib/driver.ts +25 -1279
- package/lib/index.ts +2 -1
- package/lib/plugin.ts +1 -1
- package/package.json +4 -4
- package/build/lib/command.d.ts.map +0 -1
- package/build/lib/command.js.map +0 -1
- /package/lib/{command.ts → command-maps.ts} +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { BaseDriverCapConstraints } from './constraints';
|
|
2
|
-
import { Constraint, Constraints } from './driver';
|
|
1
|
+
import { Constraint, Constraints, BaseDriverCapConstraints } from './constraints';
|
|
3
2
|
import { StandardCapabilities } from './standard-caps';
|
|
4
3
|
import { AnyCase, StringRecord } from './util';
|
|
5
4
|
export { StandardCapabilities };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../lib/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../lib/capabilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,WAAW,EAAE,wBAAwB,EAAC,MAAM,eAAe,CAAC;AAChF,OAAO,EAAC,oBAAoB,EAAC,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAC,OAAO,EAAE,YAAY,EAAC,MAAM,QAAQ,CAAC;AAE7C,OA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AoB;IACnC;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,MAAM,EAAE,wBAAwB,CAAC;IACjC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC;CACpD;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-maps.js","sourceRoot":"","sources":["../../lib/command-maps.ts"],"names":[],"mappings":";;AA4JC,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for all Appium extension commands proxied to the external driver.
|
|
3
|
+
*/
|
|
4
|
+
export interface IAppiumCommands {
|
|
5
|
+
/**
|
|
6
|
+
* Get the current time on the device under timeouts
|
|
7
|
+
*
|
|
8
|
+
* @param format - the date/time format you would like the response into
|
|
9
|
+
*
|
|
10
|
+
* @returns The formatted time
|
|
11
|
+
*/
|
|
12
|
+
getDeviceTime?(format?: string): Promise<string>;
|
|
13
|
+
/**
|
|
14
|
+
* Install an app on a device
|
|
15
|
+
*
|
|
16
|
+
* @param appPath - the absolute path to a local app or a URL of a downloadable app bundle
|
|
17
|
+
* @param options - driver-specific install options
|
|
18
|
+
*/
|
|
19
|
+
installApp?(appPath: string, options?: unknown): Promise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* Launch an app
|
|
22
|
+
*
|
|
23
|
+
* @param appId - the package or bundle ID of the application
|
|
24
|
+
* @param options - driver-specific launch options
|
|
25
|
+
*/
|
|
26
|
+
activateApp?(appId: string, options?: unknown): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Remove / uninstall an app
|
|
29
|
+
*
|
|
30
|
+
* @param appId - the package or bundle ID of the application
|
|
31
|
+
* @param options - driver-specific launch options
|
|
32
|
+
*
|
|
33
|
+
* @returns `true` if successful
|
|
34
|
+
*/
|
|
35
|
+
removeApp?(appId: string, options?: unknown): Promise<boolean>;
|
|
36
|
+
/**
|
|
37
|
+
* Quit / terminate / stop a running application
|
|
38
|
+
*
|
|
39
|
+
* @param appId - the package or bundle ID of the application
|
|
40
|
+
* @param options - driver-specific launch options
|
|
41
|
+
*/
|
|
42
|
+
terminateApp?(appId: string, options?: unknown): Promise<boolean>;
|
|
43
|
+
/**
|
|
44
|
+
* Determine whether an app is installed
|
|
45
|
+
*
|
|
46
|
+
* @param appId - the package or bundle ID of the application
|
|
47
|
+
*/
|
|
48
|
+
isAppInstalled?(appId: string): Promise<boolean>;
|
|
49
|
+
/**
|
|
50
|
+
* Get the running state of an app
|
|
51
|
+
*
|
|
52
|
+
* @param appId - the package or bundle ID of the application
|
|
53
|
+
*
|
|
54
|
+
* @returns A number representing the state. `0` means not installed, `1` means not running, `2`
|
|
55
|
+
* means running in background but suspended, `3` means running in the background, and `4` means
|
|
56
|
+
* running in the foreground
|
|
57
|
+
*/
|
|
58
|
+
queryAppState?(appId: string): Promise<0 | 1 | 2 | 3 | 4>;
|
|
59
|
+
/**
|
|
60
|
+
* Attempt to hide a virtual keyboard
|
|
61
|
+
*
|
|
62
|
+
* @param strategy - the driver-specific name of a hiding strategy to follow
|
|
63
|
+
* @param key - the text of a key to use to hide the keyboard
|
|
64
|
+
* @param keyCode - a key code to trigger to hide the keyboard
|
|
65
|
+
* @param keyName - the name of a key to use to hide the keyboard
|
|
66
|
+
*
|
|
67
|
+
* @returns Whether the keyboard was successfully hidden. May never return `false` on some platforms
|
|
68
|
+
*/
|
|
69
|
+
hideKeyboard?(strategy?: string, key?: string, keyCode?: string, keyName?: string): Promise<boolean>;
|
|
70
|
+
/**
|
|
71
|
+
* Determine whether the keyboard is shown
|
|
72
|
+
*
|
|
73
|
+
* @returns Whether the keyboard is shown
|
|
74
|
+
*/
|
|
75
|
+
isKeyboardShown?(): Promise<boolean>;
|
|
76
|
+
/**
|
|
77
|
+
* Push data to a file at a remote path on the device
|
|
78
|
+
*
|
|
79
|
+
* @param path - the remote path on the device to create the file at
|
|
80
|
+
* @param data - the base64-encoded data which will be decoded and written to `path`
|
|
81
|
+
*/
|
|
82
|
+
pushFile?(path: string, data: string): Promise<void>;
|
|
83
|
+
/**
|
|
84
|
+
* Retrieve the data from a file on the device at a given path
|
|
85
|
+
*
|
|
86
|
+
* @param path - the remote path on the device to pull file data from
|
|
87
|
+
*
|
|
88
|
+
* @returns The base64-encoded file data
|
|
89
|
+
*/
|
|
90
|
+
pullFile?(path: string): Promise<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Retrieve the data from a folder on the device at a given path
|
|
93
|
+
*
|
|
94
|
+
* @param path - the remote path of a directory on the device
|
|
95
|
+
*
|
|
96
|
+
* @returns The base64-encoded zip file of the directory contents
|
|
97
|
+
*/
|
|
98
|
+
pullFolder?(path: string): Promise<string>;
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=appium.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appium.d.ts","sourceRoot":"","sources":["../../../lib/commands/appium.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;;;KAMC;IACH,aAAa,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAEjD;;;;;OAKG;IACH,UAAU,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/D;;;;;OAKG;IACH,WAAW,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9D;;;;;;;OAOG;IACH,SAAS,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAE/D;;;;;OAKG;IACH,YAAY,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAElE;;;;OAIG;IACH,cAAc,CAAC,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEjD;;;;;;;;OAQG;IACH,aAAa,CAAC,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;IAE1D;;;;;;;;;OASG;IACH,YAAY,CAAC,CACX,QAAQ,CAAC,EAAE,MAAM,EACjB,GAAG,CAAC,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,OAAO,CAAC,CAAC;IAEpB;;;;OAIG;IACH,eAAe,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAErC;;;;;OAKG;IACH,QAAQ,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErD;;;;;;OAMG;IACH,QAAQ,CAAC,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAEzC;;;;;;OAMG;IACH,UAAU,CAAC,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CAC5C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appium.js","sourceRoot":"","sources":["../../../lib/commands/appium.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
import type { DriverCaps, W3CDriverCaps } from '../capabilities';
|
|
2
|
+
import type { Constraints } from '../constraints';
|
|
3
|
+
import type { Element, StringRecord } from '../util';
|
|
4
|
+
export interface IBidiCommands {
|
|
5
|
+
bidiSubscribe(events: string[], contexts: string[]): Promise<void>;
|
|
6
|
+
bidiUnsubscribe(events: string[], contexts: string[]): Promise<void>;
|
|
7
|
+
bidiStatus(): Promise<DriverStatus>;
|
|
8
|
+
}
|
|
9
|
+
export interface DriverStatus {
|
|
10
|
+
ready: boolean;
|
|
11
|
+
message: string;
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}
|
|
14
|
+
export interface ITimeoutCommands {
|
|
15
|
+
/**
|
|
16
|
+
* Set the various timeouts associated with a session
|
|
17
|
+
* @see {@link https://w3c.github.io/webdriver/#set-timeouts}
|
|
18
|
+
*
|
|
19
|
+
* @param type - used only for the old (JSONWP) command, the type of the timeout
|
|
20
|
+
* @param ms - used only for the old (JSONWP) command, the ms for the timeout
|
|
21
|
+
* @param script - the number in ms for the script timeout, used for the W3C command
|
|
22
|
+
* @param pageLoad - the number in ms for the pageLoad timeout, used for the W3C command
|
|
23
|
+
* @param implicit - the number in ms for the implicit wait timeout, used for the W3C command
|
|
24
|
+
*/
|
|
25
|
+
timeouts(type?: string, ms?: number | string, script?: number, pageLoad?: number, implicit?: number | string): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Set the new command timeout
|
|
28
|
+
*
|
|
29
|
+
* @param ms - the timeout in ms
|
|
30
|
+
*/
|
|
31
|
+
setNewCommandTimeout(ms: number): void;
|
|
32
|
+
/**
|
|
33
|
+
* A helper method (not a command) used to set the implicit wait value
|
|
34
|
+
*
|
|
35
|
+
* @param ms - the implicit wait in ms
|
|
36
|
+
*/
|
|
37
|
+
setImplicitWait(ms: number): void;
|
|
38
|
+
/**
|
|
39
|
+
* Periodically retry an async function up until the currently set implicit wait timeout
|
|
40
|
+
*
|
|
41
|
+
* @param condition - the behaviour to retry until it returns truthy
|
|
42
|
+
*
|
|
43
|
+
* @returns The return value of the condition
|
|
44
|
+
*/
|
|
45
|
+
implicitWaitForCondition(condition: (...args: any[]) => Promise<any>): Promise<unknown>;
|
|
46
|
+
/**
|
|
47
|
+
* Get the current timeouts
|
|
48
|
+
* @see {@link https://w3c.github.io/webdriver/#get-timeouts}
|
|
49
|
+
*
|
|
50
|
+
* @returns A map of timeout names to ms values
|
|
51
|
+
*/
|
|
52
|
+
getTimeouts(): Promise<Record<string, number>>;
|
|
53
|
+
/**
|
|
54
|
+
* Set the implicit wait value that was sent in via the W3C protocol
|
|
55
|
+
*
|
|
56
|
+
* @param ms - the timeout in ms
|
|
57
|
+
*/
|
|
58
|
+
implicitWaitW3C(ms: number): Promise<void>;
|
|
59
|
+
/**
|
|
60
|
+
* Set the page load timeout value that was sent in via the W3C protocol
|
|
61
|
+
*
|
|
62
|
+
* @param ms - the timeout in ms
|
|
63
|
+
*/
|
|
64
|
+
pageLoadTimeoutW3C(ms: number): Promise<void>;
|
|
65
|
+
/**
|
|
66
|
+
* Set the script timeout value that was sent in via the W3C protocol
|
|
67
|
+
*
|
|
68
|
+
* @param ms - the timeout in ms
|
|
69
|
+
*/
|
|
70
|
+
scriptTimeoutW3C(ms: number): Promise<void>;
|
|
71
|
+
/**
|
|
72
|
+
* Set Appium's new command timeout
|
|
73
|
+
*
|
|
74
|
+
* @param ms - the timeout in ms
|
|
75
|
+
*/
|
|
76
|
+
newCommandTimeout(ms: number): Promise<void>;
|
|
77
|
+
/**
|
|
78
|
+
* Get a timeout value from a number or a string
|
|
79
|
+
*
|
|
80
|
+
* @param ms - the timeout value as a number or a string
|
|
81
|
+
*
|
|
82
|
+
* @returns The timeout as a number in ms
|
|
83
|
+
*/
|
|
84
|
+
parseTimeoutArgument(ms: number | string): number;
|
|
85
|
+
}
|
|
86
|
+
export interface IEventCommands {
|
|
87
|
+
/**
|
|
88
|
+
* Add a custom-named event to the Appium event log
|
|
89
|
+
*
|
|
90
|
+
* @param vendor - the name of the vendor or tool the event belongs to, to namespace the event
|
|
91
|
+
* @param event - the name of the event itself
|
|
92
|
+
*/
|
|
93
|
+
logCustomEvent(vendor: string, event: string): Promise<void>;
|
|
94
|
+
/**
|
|
95
|
+
* Get a list of events that have occurred in the current session
|
|
96
|
+
*
|
|
97
|
+
* @param type - filter the returned events by including one or more types
|
|
98
|
+
*
|
|
99
|
+
* @returns The event history for the session
|
|
100
|
+
*/
|
|
101
|
+
getLogEvents(type?: string | string[]): Promise<EventHistory | Record<string, number>>;
|
|
102
|
+
}
|
|
103
|
+
export interface EventHistory {
|
|
104
|
+
commands: EventHistoryCommand[];
|
|
105
|
+
[key: string]: any;
|
|
106
|
+
}
|
|
107
|
+
export interface EventHistoryCommand {
|
|
108
|
+
cmd: string;
|
|
109
|
+
startTime: number;
|
|
110
|
+
endTime: number;
|
|
111
|
+
}
|
|
112
|
+
export interface IExecuteCommands {
|
|
113
|
+
/**
|
|
114
|
+
* Call an `Execute Method` by its name with the given arguments. This method will check that the
|
|
115
|
+
* driver has registered the method matching the name, and send it the arguments.
|
|
116
|
+
*
|
|
117
|
+
* @param script - the name of the Execute Method
|
|
118
|
+
* @param args - a singleton array containing an arguments object
|
|
119
|
+
*
|
|
120
|
+
* @returns The result of calling the Execute Method
|
|
121
|
+
*/
|
|
122
|
+
executeMethod<TArgs extends readonly any[] | readonly [StringRecord<unknown>] = unknown[], TReturn = unknown>(script: string, args: TArgs): Promise<TReturn>;
|
|
123
|
+
}
|
|
124
|
+
export interface IFindCommands {
|
|
125
|
+
/**
|
|
126
|
+
* Find a UI element given a locator strategy and a selector, erroring if it can't be found
|
|
127
|
+
* @see {@link https://w3c.github.io/webdriver/#find-element}
|
|
128
|
+
*
|
|
129
|
+
* @param strategy - the locator strategy
|
|
130
|
+
* @param selector - the selector to combine with the strategy to find the specific element
|
|
131
|
+
*
|
|
132
|
+
* @returns The element object encoding the element id which can be used in element-related
|
|
133
|
+
* commands
|
|
134
|
+
*/
|
|
135
|
+
findElement(strategy: string, selector: string): Promise<Element>;
|
|
136
|
+
/**
|
|
137
|
+
* Find a a list of all UI elements matching a given a locator strategy and a selector
|
|
138
|
+
* @see {@link https://w3c.github.io/webdriver/#find-elements}
|
|
139
|
+
*
|
|
140
|
+
* @param strategy - the locator strategy
|
|
141
|
+
* @param selector - the selector to combine with the strategy to find the specific elements
|
|
142
|
+
*
|
|
143
|
+
* @returns A possibly-empty list of element objects
|
|
144
|
+
*/
|
|
145
|
+
findElements(strategy: string, selector: string): Promise<Element[]>;
|
|
146
|
+
/**
|
|
147
|
+
* Find a UI element given a locator strategy and a selector, erroring if it can't be found. Only
|
|
148
|
+
* look for elements among the set of descendants of a given element
|
|
149
|
+
* @see {@link https://w3c.github.io/webdriver/#find-element-from-element}
|
|
150
|
+
*
|
|
151
|
+
* @param strategy - the locator strategy
|
|
152
|
+
* @param selector - the selector to combine with the strategy to find the specific element
|
|
153
|
+
* @param elementId - the id of the element to use as the search basis
|
|
154
|
+
*
|
|
155
|
+
* @returns The element object encoding the element id which can be used in element-related
|
|
156
|
+
* commands
|
|
157
|
+
*/
|
|
158
|
+
findElementFromElement(strategy: string, selector: string, elementId: string): Promise<Element>;
|
|
159
|
+
/**
|
|
160
|
+
* Find a a list of all UI elements matching a given a locator strategy and a selector. Only
|
|
161
|
+
* look for elements among the set of descendants of a given element
|
|
162
|
+
* @see {@link https://w3c.github.io/webdriver/#find-elements-from-element}
|
|
163
|
+
*
|
|
164
|
+
* @param strategy - the locator strategy
|
|
165
|
+
* @param selector - the selector to combine with the strategy to find the specific elements
|
|
166
|
+
* @param elementId - the id of the element to use as the search basis
|
|
167
|
+
*
|
|
168
|
+
* @returns A possibly-empty list of element objects
|
|
169
|
+
*/
|
|
170
|
+
findElementsFromElement(strategy: string, selector: string, elementId: string): Promise<Element[]>;
|
|
171
|
+
/**
|
|
172
|
+
* Find an element from a shadow root
|
|
173
|
+
* @see {@link https://w3c.github.io/webdriver/#find-element-from-shadow-root}
|
|
174
|
+
* @param strategy - the locator strategy
|
|
175
|
+
* @param selector - the selector to combine with the strategy to find the specific elements
|
|
176
|
+
* @param shadowId - the id of the element to use as the search basis
|
|
177
|
+
*
|
|
178
|
+
* @returns The element inside the shadow root matching the selector
|
|
179
|
+
*/
|
|
180
|
+
findElementFromShadowRoot?(strategy: string, selector: string, shadowId: string): Promise<Element>;
|
|
181
|
+
/**
|
|
182
|
+
* Find elements from a shadow root
|
|
183
|
+
* @see {@link https://w3c.github.io/webdriver/#find-element-from-shadow-root}
|
|
184
|
+
* @param strategy - the locator strategy
|
|
185
|
+
* @param selector - the selector to combine with the strategy to find the specific elements
|
|
186
|
+
* @param shadowId - the id of the element to use as the search basis
|
|
187
|
+
*
|
|
188
|
+
* @returns A possibly empty list of elements inside the shadow root matching the selector
|
|
189
|
+
*/
|
|
190
|
+
findElementsFromShadowRoot?(strategy: string, selector: string, shadowId: string): Promise<Element[]>;
|
|
191
|
+
/**
|
|
192
|
+
* A helper method that returns one or more UI elements based on the search criteria
|
|
193
|
+
*
|
|
194
|
+
* @param strategy - the locator strategy
|
|
195
|
+
* @param selector - the selector
|
|
196
|
+
* @param mult - whether or not we want to find multiple elements
|
|
197
|
+
* @param context - the element to use as the search context basis if desiredCapabilities
|
|
198
|
+
*
|
|
199
|
+
* @returns A single element or list of elements
|
|
200
|
+
*/
|
|
201
|
+
findElOrEls(strategy: string, selector: string, mult: true, context?: any): Promise<Element[]>;
|
|
202
|
+
findElOrEls(strategy: string, selector: string, mult: false, context?: any): Promise<Element>;
|
|
203
|
+
/**
|
|
204
|
+
* This is a wrapper for {@linkcode findElOrEls} that validates locator strategies
|
|
205
|
+
* and implements the `appium:printPageSourceOnFindFailure` capability
|
|
206
|
+
*
|
|
207
|
+
* @param strategy - the locator strategy
|
|
208
|
+
* @param selector - the selector
|
|
209
|
+
* @param mult - whether or not we want to find multiple elements
|
|
210
|
+
* @param context - the element to use as the search context basis if desiredCapabilities
|
|
211
|
+
*
|
|
212
|
+
* @returns A single element or list of elements
|
|
213
|
+
*/
|
|
214
|
+
findElOrElsWithProcessing(strategy: string, selector: string, mult: true, context?: any): Promise<Element[]>;
|
|
215
|
+
findElOrElsWithProcessing(strategy: string, selector: string, mult: false, context?: any): Promise<Element>;
|
|
216
|
+
/**
|
|
217
|
+
* Get the current page/app source as HTML/XML
|
|
218
|
+
* @see {@link https://w3c.github.io/webdriver/#get-page-source}
|
|
219
|
+
*
|
|
220
|
+
* @returns The UI hierarchy in a platform-appropriate format (e.g., HTML for a web page)
|
|
221
|
+
*/
|
|
222
|
+
getPageSource(): Promise<string>;
|
|
223
|
+
}
|
|
224
|
+
export interface ILogCommands {
|
|
225
|
+
/**
|
|
226
|
+
* Definition of the available log types
|
|
227
|
+
*/
|
|
228
|
+
supportedLogTypes: Readonly<LogDefRecord>;
|
|
229
|
+
/**
|
|
230
|
+
* Get available log types as a list of strings
|
|
231
|
+
*/
|
|
232
|
+
getLogTypes(): Promise<string[]>;
|
|
233
|
+
/**
|
|
234
|
+
* Get the log for a given log type.
|
|
235
|
+
*
|
|
236
|
+
* @param logType - Name/key of log type as defined in {@linkcode ILogCommands.supportedLogTypes}.
|
|
237
|
+
*/
|
|
238
|
+
getLog(logType: string): Promise<any>;
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* A record of {@linkcode LogDef} objects, keyed by the log type name.
|
|
242
|
+
* Used in {@linkcode ILogCommands.supportedLogTypes}
|
|
243
|
+
*/
|
|
244
|
+
export type LogDefRecord = Record<string, LogDef>;
|
|
245
|
+
/**
|
|
246
|
+
* A definition of a log type
|
|
247
|
+
*/
|
|
248
|
+
export interface LogDef {
|
|
249
|
+
/**
|
|
250
|
+
* Description of the log type.
|
|
251
|
+
*
|
|
252
|
+
* The only place this is used is in error messages if the client provides an invalid log type
|
|
253
|
+
* via {@linkcode ILogCommands.getLog}.
|
|
254
|
+
*/
|
|
255
|
+
description: string;
|
|
256
|
+
/**
|
|
257
|
+
* Returns all the log data for the given type
|
|
258
|
+
*
|
|
259
|
+
* This implementation *should* drain, truncate or otherwise reset the log buffer.
|
|
260
|
+
*/
|
|
261
|
+
getter: (driver: any) => Promise<unknown> | unknown;
|
|
262
|
+
}
|
|
263
|
+
export interface ISettingsCommands<T extends object = object> {
|
|
264
|
+
/**
|
|
265
|
+
* Update the session's settings dictionary with a new settings object
|
|
266
|
+
*
|
|
267
|
+
* @param settings - A key-value map of setting names to values. Settings not named in the map
|
|
268
|
+
* will not have their value adjusted.
|
|
269
|
+
*/
|
|
270
|
+
updateSettings: (settings: T) => Promise<void>;
|
|
271
|
+
/**
|
|
272
|
+
* Get the current settings for the session
|
|
273
|
+
*
|
|
274
|
+
* @returns The settings object
|
|
275
|
+
*/
|
|
276
|
+
getSettings(): Promise<T>;
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* An interface which creates and deletes sessions.
|
|
280
|
+
*/
|
|
281
|
+
export interface ISessionHandler<C extends Constraints = Constraints, CreateResult = DefaultCreateSessionResult<C>, DeleteResult = DefaultDeleteSessionResult, SessionData extends StringRecord = StringRecord> {
|
|
282
|
+
/**
|
|
283
|
+
* Start a new automation session
|
|
284
|
+
* @see {@link https://w3c.github.io/webdriver/#new-session}
|
|
285
|
+
*
|
|
286
|
+
* @privateRemarks
|
|
287
|
+
* The shape of this method is strange because it used to support both JSONWP and W3C
|
|
288
|
+
* capabilities. This will likely change in the future to simplify.
|
|
289
|
+
*
|
|
290
|
+
* @param w3cCaps1 - the new session capabilities
|
|
291
|
+
* @param w3cCaps2 - another place the new session capabilities could be sent (typically left undefined)
|
|
292
|
+
* @param w3cCaps3 - another place the new session capabilities could be sent (typically left undefined)
|
|
293
|
+
* @param driverData - a list of DriverData objects representing other sessions running for this
|
|
294
|
+
* driver on the same Appium server. This information can be used to help ensure no conflict of
|
|
295
|
+
* resources
|
|
296
|
+
*
|
|
297
|
+
* @returns The capabilities object representing the created session
|
|
298
|
+
*/
|
|
299
|
+
createSession(w3cCaps1: W3CDriverCaps<C>, w3cCaps2?: W3CDriverCaps<C>, w3cCaps3?: W3CDriverCaps<C>, driverData?: DriverData[]): Promise<CreateResult>;
|
|
300
|
+
/**
|
|
301
|
+
* Stop an automation session
|
|
302
|
+
* @see {@link https://w3c.github.io/webdriver/#delete-session}
|
|
303
|
+
*
|
|
304
|
+
* @param sessionId - the id of the session that is to be deleted
|
|
305
|
+
* @param driverData - the driver data for other currently-running sessions
|
|
306
|
+
*/
|
|
307
|
+
deleteSession(sessionId?: string, driverData?: DriverData[]): Promise<DeleteResult | void>;
|
|
308
|
+
/**
|
|
309
|
+
* Get the data for the current session
|
|
310
|
+
*
|
|
311
|
+
* @returns A session data object
|
|
312
|
+
*/
|
|
313
|
+
getSession(): Promise<SingularSessionData<C, SessionData>>;
|
|
314
|
+
/**
|
|
315
|
+
* Get the capabilities of the current session
|
|
316
|
+
*
|
|
317
|
+
* @returns A session capabilities object
|
|
318
|
+
*/
|
|
319
|
+
getAppiumSessionCapabilities(): Promise<SessionCapabilities<C>>;
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* @see {@linkcode ISessionHandler}
|
|
323
|
+
*/
|
|
324
|
+
export type DefaultCreateSessionResult<C extends Constraints> = [
|
|
325
|
+
sessionId: string,
|
|
326
|
+
capabilities: DriverCaps<C>
|
|
327
|
+
];
|
|
328
|
+
/**
|
|
329
|
+
* @see {@linkcode ISessionHandler}
|
|
330
|
+
*/
|
|
331
|
+
export type DefaultDeleteSessionResult = void;
|
|
332
|
+
/**
|
|
333
|
+
* Custom session data for a driver.
|
|
334
|
+
*/
|
|
335
|
+
export type DriverData = Record<string, unknown>;
|
|
336
|
+
/**
|
|
337
|
+
* Data returned by {@linkcode ISessionHandler.getSession}.
|
|
338
|
+
*
|
|
339
|
+
* @typeParam C - The driver's capability constraints
|
|
340
|
+
* @typeParam T - Any extra data the driver stuffs in here
|
|
341
|
+
* @privateRemarks The content of this object looks implementation-specific and in practice is not well-defined. It's _possible_ to fully type this in the future.
|
|
342
|
+
*/
|
|
343
|
+
export type SingularSessionData<C extends Constraints = Constraints, T extends StringRecord = StringRecord> = DriverCaps<C> & {
|
|
344
|
+
events?: EventHistory;
|
|
345
|
+
error?: string;
|
|
346
|
+
} & T;
|
|
347
|
+
/**
|
|
348
|
+
* Data returned by `AppiumDriver.getAppiumSessions`
|
|
349
|
+
*
|
|
350
|
+
* @typeParam C - The driver's constraints
|
|
351
|
+
*/
|
|
352
|
+
export interface TimestampedMultiSessionData<C extends Constraints = Constraints> {
|
|
353
|
+
id: string;
|
|
354
|
+
created: number;
|
|
355
|
+
capabilities: DriverCaps<C>;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* Data returned by {@linkcode ISessionCommands.getAppiumSessionCapabilities}.
|
|
359
|
+
*
|
|
360
|
+
* @typeParam C - The driver's constraints
|
|
361
|
+
* @typeParam T - Any extra data the driver stuffs in here
|
|
362
|
+
*/
|
|
363
|
+
export type SessionCapabilities<C extends Constraints = Constraints, T extends StringRecord = StringRecord> = {
|
|
364
|
+
capabilities: DriverCaps<C>;
|
|
365
|
+
} & T;
|
|
366
|
+
/**
|
|
367
|
+
* Interface for all commands expected to be implemented by BaseDriver.
|
|
368
|
+
*/
|
|
369
|
+
export type IImplementedCommands<C extends Constraints = Constraints, Settings extends StringRecord = StringRecord, CreateResult = DefaultCreateSessionResult<C>, DeleteResult = DefaultDeleteSessionResult, SessionData extends StringRecord = StringRecord> = IBidiCommands & ILogCommands & IFindCommands & ISettingsCommands<Settings> & ITimeoutCommands & IEventCommands & IExecuteCommands & ISessionHandler<C, CreateResult, DeleteResult, SessionData>;
|
|
370
|
+
//# sourceMappingURL=basedriver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basedriver.d.ts","sourceRoot":"","sources":["../../../lib/commands/basedriver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,UAAU,EAAE,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC/D,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAC,OAAO,EAAE,YAAY,EAAC,MAAM,SAAS,CAAC;AAEnD,MA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M,CAAC;IAChB,YAAY,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;CAC7B;AAED;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,CAC7B,CAAC,SAAS,WAAW,GAAG,WAAW,EACnC,CAAC,SAAS,YAAY,GAAG,YAAY,IACnC;IACF,YAAY,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;CAC7B,GAAG,CAAC,CAAC;AAEN;;GAEG;AACH,MAAM,MAAM,oBAAoB,CAC9B,CAAC,SAAS,WAAW,GAAG,WAAW,EACnC,QAAQ,SAAS,YAAY,GAAG,YAAY,EAC5C,YAAY,GAAG,0BAA0B,CAAC,CAAC,CAAC,EAC5C,YAAY,GAAG,0BAA0B,EACzC,WAAW,SAAS,YAAY,GAAG,YAAY,IAC7C,aAAa,GACb,YAAY,GACZ,aAAa,GACb,iBAAiB,CAAC,QAAQ,CAAC,GAC3B,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,eAAe,CAAC,CAAC,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basedriver.js","sourceRoot":"","sources":["../../../lib/commands/basedriver.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./appium"), exports);
|
|
18
|
+
__exportStar(require("./basedriver"), exports);
|
|
19
|
+
__exportStar(require("./jsonwp"), exports);
|
|
20
|
+
__exportStar(require("./mjsonwp"), exports);
|
|
21
|
+
__exportStar(require("./other-protocols"), exports);
|
|
22
|
+
__exportStar(require("./webdriver"), exports);
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for all JSONWP commands proxied to the external driver.
|
|
3
|
+
*/
|
|
4
|
+
export interface IJSONWPCommands {
|
|
5
|
+
/**
|
|
6
|
+
* Get the device orientation
|
|
7
|
+
*
|
|
8
|
+
* @returns The orientation string
|
|
9
|
+
*/
|
|
10
|
+
getOrientation?(): Promise<string>;
|
|
11
|
+
/**
|
|
12
|
+
* Set the device orientation
|
|
13
|
+
*
|
|
14
|
+
* @param orientation - the orientation string
|
|
15
|
+
*/
|
|
16
|
+
setOrientation?(orientation: string): Promise<void>;
|
|
17
|
+
/**
|
|
18
|
+
* Get the virtual or real geographical location of a device
|
|
19
|
+
*
|
|
20
|
+
* @returns The location
|
|
21
|
+
*/
|
|
22
|
+
getGeoLocation?(): Promise<Location>;
|
|
23
|
+
/**
|
|
24
|
+
* Set the virtual geographical location of a device
|
|
25
|
+
*
|
|
26
|
+
* @param location - the location including latitude and longitude
|
|
27
|
+
* @returns The complete location
|
|
28
|
+
*/
|
|
29
|
+
setGeoLocation?(location: Partial<Location>): Promise<Location>;
|
|
30
|
+
}
|
|
31
|
+
export type Orientation = 'LANDSCAPE' | 'PORTRAIT';
|
|
32
|
+
export interface Location {
|
|
33
|
+
latitude: number;
|
|
34
|
+
longitude: number;
|
|
35
|
+
altitude?: number;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=jsonwp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jsonwp.d.ts","sourceRoot":"","sources":["../../../lib/commands/jsonwp.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,cAAc,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAEnC;;;;OAIG;IACH,cAAc,CAAC,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEpD;;;;OAIG;IACH,cAAc,CAAC,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC;IAErC;;;;;OAKG;IACH,cAAc,CAAC,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;CACjE;AAED,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,UAAU,CAAC;AAEnD,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jsonwp.js","sourceRoot":"","sources":["../../../lib/commands/jsonwp.ts"],"names":[],"mappings":""}
|