@wdio/protocols 8.8.1 → 8.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ export default interface AppiumCommands {
4
4
  * Appium Protocol Command
5
5
  *
6
6
  * Perform a shake action on the device.
7
- * @ref http://appium.io/docs/en/commands/device/interactions/shake/
7
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/interactions/shake/
8
8
  *
9
9
  */
10
10
  shake(): Promise<void>;
@@ -12,7 +12,7 @@ export default interface AppiumCommands {
12
12
  * Appium Protocol Command
13
13
  *
14
14
  * Lock the device.
15
- * @ref http://appium.io/docs/en/commands/device/interactions/lock/
15
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/interactions/lock/
16
16
  *
17
17
  */
18
18
  lock(seconds?: number): Promise<void>;
@@ -20,7 +20,7 @@ export default interface AppiumCommands {
20
20
  * Appium Protocol Command
21
21
  *
22
22
  * Unlock the device.
23
- * @ref http://appium.io/docs/en/commands/device/interactions/unlock/
23
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/interactions/unlock/
24
24
  *
25
25
  */
26
26
  unlock(): Promise<void>;
@@ -28,7 +28,7 @@ export default interface AppiumCommands {
28
28
  * Appium Protocol Command
29
29
  *
30
30
  * Check whether the device is locked or not.
31
- * @ref http://appium.io/docs/en/commands/device/interactions/is-locked/
31
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/interactions/is-locked/
32
32
  *
33
33
  */
34
34
  isLocked(): Promise<boolean>;
@@ -36,7 +36,7 @@ export default interface AppiumCommands {
36
36
  * Appium Protocol Command
37
37
  *
38
38
  * Start recording the screen.
39
- * @ref http://appium.io/docs/en/commands/device/recording-screen/start-recording-screen/
39
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/recording-screen/start-recording-screen/
40
40
  *
41
41
  */
42
42
  startRecordingScreen(options?: object): Promise<void>;
@@ -44,7 +44,7 @@ export default interface AppiumCommands {
44
44
  * Appium Protocol Command
45
45
  *
46
46
  * Stop recording screen
47
- * @ref http://appium.io/docs/en/commands/device/recording-screen/stop-recording-screen/
47
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/recording-screen/stop-recording-screen/
48
48
  *
49
49
  */
50
50
  stopRecordingScreen(remotePath?: string, username?: string, password?: string, method?: string): Promise<string>;
@@ -52,7 +52,7 @@ export default interface AppiumCommands {
52
52
  * Appium Protocol Command
53
53
  *
54
54
  * Returns the information types of the system state which is supported to read as like cpu, memory, network traffic, and battery.
55
- * @ref http://appium.io/docs/en/commands/device/performance-data/performance-data-types/
55
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/performance-data/performance-data-types/
56
56
  *
57
57
  */
58
58
  getPerformanceDataTypes(): Promise<string[]>;
@@ -60,7 +60,7 @@ export default interface AppiumCommands {
60
60
  * Appium Protocol Command
61
61
  *
62
62
  * Returns the information of the system state which is supported to read as like cpu, memory, network traffic, and battery.
63
- * @ref http://appium.io/docs/en/commands/device/performance-data/get-performance-data/
63
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/performance-data/get-performance-data/
64
64
  *
65
65
  */
66
66
  getPerformanceData(packageName: string, dataType: string, dataReadTimeout?: number): Promise<string[]>;
@@ -68,7 +68,7 @@ export default interface AppiumCommands {
68
68
  * Appium Protocol Command
69
69
  *
70
70
  * Press a particular key on the device.
71
- * @ref http://appium.io/docs/en/commands/device/keys/press-keycode/
71
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/keys/press-keycode/
72
72
  *
73
73
  */
74
74
  pressKeyCode(keycode: number, metastate?: number, flags?: number): Promise<void>;
@@ -76,7 +76,7 @@ export default interface AppiumCommands {
76
76
  * Appium Protocol Command
77
77
  *
78
78
  * Press and hold a particular key code on the device.
79
- * @ref http://appium.io/docs/en/commands/device/keys/long-press-keycode/
79
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/keys/long-press-keycode/
80
80
  *
81
81
  */
82
82
  longPressKeyCode(keycode: number, metastate?: number, flags?: number): Promise<void>;
@@ -92,7 +92,7 @@ export default interface AppiumCommands {
92
92
  * Appium Protocol Command
93
93
  *
94
94
  * Rotate the device in three dimensions.
95
- * @ref http://appium.io/docs/en/commands/device/interactions/rotate/
95
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/interactions/rotate/
96
96
  *
97
97
  */
98
98
  rotateDevice(x: number, y: number, radius: number, rotation: number, touchCount: number, duration: number, element?: string): Promise<void>;
@@ -100,7 +100,7 @@ export default interface AppiumCommands {
100
100
  * Appium Protocol Command
101
101
  *
102
102
  * Get the name of the current Android activity.
103
- * @ref http://appium.io/docs/en/commands/device/activity/current-activity/
103
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/activity/current-activity/
104
104
  *
105
105
  */
106
106
  getCurrentActivity(): Promise<string>;
@@ -108,7 +108,7 @@ export default interface AppiumCommands {
108
108
  * Appium Protocol Command
109
109
  *
110
110
  * Get the name of the current Android package.
111
- * @ref http://appium.io/docs/en/commands/device/activity/current-package/
111
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/activity/current-package/
112
112
  *
113
113
  */
114
114
  getCurrentPackage(): Promise<string>;
@@ -116,7 +116,7 @@ export default interface AppiumCommands {
116
116
  * Appium Protocol Command
117
117
  *
118
118
  * Install the given app onto the device.
119
- * @ref http://appium.io/docs/en/commands/device/app/install-app/
119
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/app/install-app/
120
120
  *
121
121
  */
122
122
  installApp(appPath: string): Promise<void>;
@@ -124,7 +124,7 @@ export default interface AppiumCommands {
124
124
  * Appium Protocol Command
125
125
  *
126
126
  * Activate the given app onto the device
127
- * @ref http://appium.io/docs/en/commands/device/app/activate-app/
127
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/app/activate-app/
128
128
  *
129
129
  */
130
130
  activateApp(appId: string): Promise<void>;
@@ -132,7 +132,7 @@ export default interface AppiumCommands {
132
132
  * Appium Protocol Command
133
133
  *
134
134
  * Remove an app from the device.
135
- * @ref http://appium.io/docs/en/commands/device/app/remove-app/
135
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/app/remove-app/
136
136
  *
137
137
  */
138
138
  removeApp(appId: string): Promise<void>;
@@ -140,7 +140,7 @@ export default interface AppiumCommands {
140
140
  * Appium Protocol Command
141
141
  *
142
142
  * Terminate the given app on the device
143
- * @ref http://appium.io/docs/en/commands/device/app/terminate-app/
143
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/app/terminate-app/
144
144
  *
145
145
  */
146
146
  terminateApp(appId: string): Promise<void>;
@@ -148,7 +148,7 @@ export default interface AppiumCommands {
148
148
  * Appium Protocol Command
149
149
  *
150
150
  * Check whether the specified app is installed on the device.
151
- * @ref http://appium.io/docs/en/commands/device/app/is-app-installed/
151
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/app/is-app-installed/
152
152
  *
153
153
  */
154
154
  isAppInstalled(appId: string): Promise<boolean>;
@@ -156,7 +156,7 @@ export default interface AppiumCommands {
156
156
  * Appium Protocol Command
157
157
  *
158
158
  * Get the given app status on the device
159
- * @ref http://appium.io/docs/en/commands/device/app/app-state/
159
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/app/app-state/
160
160
  *
161
161
  */
162
162
  queryAppState(appId: string): Promise<number>;
@@ -164,7 +164,7 @@ export default interface AppiumCommands {
164
164
  * Appium Protocol Command
165
165
  *
166
166
  * Hide soft keyboard.
167
- * @ref http://appium.io/docs/en/commands/device/keys/hide-keyboard/
167
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/keys/hide-keyboard/
168
168
  *
169
169
  */
170
170
  hideKeyboard(strategy?: string, key?: string, keyCode?: string, keyName?: string): Promise<void>;
@@ -172,7 +172,7 @@ export default interface AppiumCommands {
172
172
  * Appium Protocol Command
173
173
  *
174
174
  * Whether or not the soft keyboard is shown.
175
- * @ref http://appium.io/docs/en/commands/device/keys/is-keyboard-shown/
175
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/keys/is-keyboard-shown/
176
176
  *
177
177
  */
178
178
  isKeyboardShown(): Promise<boolean>;
@@ -180,7 +180,7 @@ export default interface AppiumCommands {
180
180
  * Appium Protocol Command
181
181
  *
182
182
  * Place a file onto the device in a particular place.
183
- * @ref http://appium.io/docs/en/commands/device/files/push-file/
183
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/files/push-file/
184
184
  *
185
185
  */
186
186
  pushFile(path: string, data: string): Promise<void>;
@@ -188,7 +188,7 @@ export default interface AppiumCommands {
188
188
  * Appium Protocol Command
189
189
  *
190
190
  * Retrieve a file from the device's file system.
191
- * @ref http://appium.io/docs/en/commands/device/files/pull-file/
191
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/files/pull-file/
192
192
  *
193
193
  */
194
194
  pullFile(path: string): Promise<string>;
@@ -196,7 +196,7 @@ export default interface AppiumCommands {
196
196
  * Appium Protocol Command
197
197
  *
198
198
  * Retrieve a folder from the device's file system.
199
- * @ref http://appium.io/docs/en/commands/device/files/pull-folder/
199
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/files/pull-folder/
200
200
  *
201
201
  */
202
202
  pullFolder(path: string): Promise<void>;
@@ -204,7 +204,7 @@ export default interface AppiumCommands {
204
204
  * Appium Protocol Command
205
205
  *
206
206
  * Toggle airplane mode on device.
207
- * @ref http://appium.io/docs/en/commands/device/network/toggle-airplane-mode/
207
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/network/toggle-airplane-mode/
208
208
  *
209
209
  */
210
210
  toggleAirplaneMode(): Promise<void>;
@@ -212,7 +212,7 @@ export default interface AppiumCommands {
212
212
  * Appium Protocol Command
213
213
  *
214
214
  * Switch the state of data service.
215
- * @ref http://appium.io/docs/en/commands/device/network/toggle-data/
215
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/network/toggle-data/
216
216
  *
217
217
  */
218
218
  toggleData(): Promise<void>;
@@ -220,7 +220,7 @@ export default interface AppiumCommands {
220
220
  * Appium Protocol Command
221
221
  *
222
222
  * Switch the state of the wifi service.
223
- * @ref http://appium.io/docs/en/commands/device/network/toggle-wifi/
223
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/network/toggle-wifi/
224
224
  *
225
225
  */
226
226
  toggleWiFi(): Promise<void>;
@@ -228,7 +228,7 @@ export default interface AppiumCommands {
228
228
  * Appium Protocol Command
229
229
  *
230
230
  * Switch the state of the location service.
231
- * @ref http://appium.io/docs/en/commands/device/network/toggle-location-services/
231
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/network/toggle-location-services/
232
232
  *
233
233
  */
234
234
  toggleLocationServices(): Promise<void>;
@@ -236,7 +236,7 @@ export default interface AppiumCommands {
236
236
  * Appium Protocol Command
237
237
  *
238
238
  * Set network speed (Emulator only)
239
- * @ref http://appium.io/docs/en/commands/device/network/network-speed/
239
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/network/network-speed/
240
240
  *
241
241
  */
242
242
  toggleNetworkSpeed(netspeed: string): Promise<void>;
@@ -244,7 +244,7 @@ export default interface AppiumCommands {
244
244
  * Appium Protocol Command
245
245
  *
246
246
  * Open Android notifications (Emulator only).
247
- * @ref http://appium.io/docs/en/commands/device/system/open-notifications/
247
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/system/open-notifications/
248
248
  *
249
249
  */
250
250
  openNotifications(): Promise<void>;
@@ -252,7 +252,7 @@ export default interface AppiumCommands {
252
252
  * Appium Protocol Command
253
253
  *
254
254
  * Start an Android activity by providing package name and activity name.
255
- * @ref http://appium.io/docs/en/commands/device/activity/start-activity/
255
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/activity/start-activity/
256
256
  *
257
257
  */
258
258
  startActivity(appPackage: string, appActivity: string, appWaitPackage?: string, appWaitActivity?: string, intentAction?: string, intentCategory?: string, intentFlags?: string, optionalIntentArguments?: string, dontStopAppOnReset?: string): Promise<void>;
@@ -260,7 +260,7 @@ export default interface AppiumCommands {
260
260
  * Appium Protocol Command
261
261
  *
262
262
  * Retrieve visibility and bounds information of the status and navigation bars.
263
- * @ref http://appium.io/docs/en/commands/device/system/system-bars/
263
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/system/system-bars/
264
264
  *
265
265
  */
266
266
  getSystemBars(): Promise<object[]>;
@@ -268,7 +268,7 @@ export default interface AppiumCommands {
268
268
  * Appium Protocol Command
269
269
  *
270
270
  * Get the time on the device.
271
- * @ref http://appium.io/docs/en/commands/device/system/system-time/
271
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/system/system-time/
272
272
  *
273
273
  */
274
274
  getDeviceTime(): Promise<string>;
@@ -283,8 +283,8 @@ export default interface AppiumCommands {
283
283
  /**
284
284
  * Appium Protocol Command
285
285
  *
286
- * Simulate a [touch id](https://support.apple.com/en-ca/ht201371) event (iOS Simulator only). To enable this feature, the `allowTouchIdEnroll` desired capability must be set to true and the Simulator must be [enrolled](https://support.apple.com/en-ca/ht201371). When you set allowTouchIdEnroll to true, it will set the Simulator to be enrolled by default. The enrollment state can be [toggled](http://appium.io/docs/en/commands/device/simulator/toggle-touch-id-enrollment/index.html). This call will only work if Appium process or its parent application (e.g. Terminal.app or Appium.app) has access to Mac OS accessibility in System Preferences > Security & Privacy > Privacy > Accessibility list.
287
- * @ref http://appium.io/docs/en/commands/device/simulator/touch-id/
286
+ * Simulate a [touch id](https://support.apple.com/en-ca/ht201371) event (iOS Simulator only). To enable this feature, the `allowTouchIdEnroll` desired capability must be set to true and the Simulator must be [enrolled](https://support.apple.com/en-ca/ht201371). When you set allowTouchIdEnroll to true, it will set the Simulator to be enrolled by default. The enrollment state can be [toggled](https://appium.github.io/appium.io/docs/en/commands/device/simulator/toggle-touch-id-enrollment/index.html). This call will only work if Appium process or its parent application (e.g. Terminal.app or Appium.app) has access to Mac OS accessibility in System Preferences > Security & Privacy > Privacy > Accessibility list.
287
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/simulator/touch-id/
288
288
  *
289
289
  */
290
290
  touchId(match: boolean): Promise<void>;
@@ -292,15 +292,15 @@ export default interface AppiumCommands {
292
292
  * Appium Protocol Command
293
293
  *
294
294
  * Toggle the simulator being [enrolled](https://support.apple.com/en-ca/ht201371) to accept touchId (iOS Simulator only). To enable this feature, the `allowTouchIdEnroll` desired capability must be set to true. When `allowTouchIdEnroll` is set to true the Simulator will be enrolled by default, and the 'Toggle Touch ID Enrollment' changes the enrollment state. This call will only work if the Appium process or its parent application (e.g., Terminal.app or Appium.app) has access to Mac OS accessibility in System Preferences > Security & Privacy > Privacy > Accessibility list.
295
- * @ref http://appium.io/docs/en/commands/device/simulator/toggle-touch-id-enrollment/
295
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/simulator/toggle-touch-id-enrollment/
296
296
  *
297
297
  */
298
298
  toggleEnrollTouchId(enabled?: boolean): Promise<void>;
299
299
  /**
300
300
  * Appium Protocol Command
301
301
  *
302
- * Launch an app on device. iOS tests with XCUITest can also use the `mobile: launchApp` method. See detailed [documentation](http://appium.io/docs/en/writing-running-appium/ios/ios-xctest-mobile-apps-management/index.html#mobile-launchapp).
303
- * @ref http://appium.io/docs/en/commands/device/app/launch-app/
302
+ * Launch an app on device. iOS tests with XCUITest can also use the `mobile: launchApp` method. See detailed [documentation](https://appium.github.io/appium.io/docs/en/writing-running-appium/ios/ios-xctest-mobile-apps-management/index.html#mobile-launchapp).
303
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/app/launch-app/
304
304
  *
305
305
  */
306
306
  launchApp(): Promise<void>;
@@ -308,15 +308,15 @@ export default interface AppiumCommands {
308
308
  * Appium Protocol Command
309
309
  *
310
310
  * Close an app on device.
311
- * @ref http://appium.io/docs/en/commands/device/app/close-app/
311
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/app/close-app/
312
312
  *
313
313
  */
314
314
  closeApp(): Promise<void>;
315
315
  /**
316
316
  * Appium Protocol Command
317
317
  *
318
- * Send the currently running app for this session to the background. iOS tests with XCUITest can also use the `mobile: terminateApp` method to terminate the current app (see detailed [documentation](http://appium.io/docs/en/writing-running-appium/ios/ios-xctest-mobile-apps-management/index.html#mobile-terminateapp)), and the `mobile: activateApp` to activate an existing application on the device under test and moves it to the foreground (see detailed [documentation](http://appium.io/docs/en/writing-running-appium/ios/ios-xctest-mobile-apps-management/index.html#mobile-activateapp)).
319
- * @ref http://appium.io/docs/en/commands/device/app/background-app/
318
+ * Send the currently running app for this session to the background. iOS tests with XCUITest can also use the `mobile: terminateApp` method to terminate the current app (see detailed [documentation](https://appium.github.io/appium.io/docs/en/writing-running-appium/ios/ios-xctest-mobile-apps-management/index.html#mobile-terminateapp)), and the `mobile: activateApp` to activate an existing application on the device under test and moves it to the foreground (see detailed [documentation](https://appium.github.io/appium.io/docs/en/writing-running-appium/ios/ios-xctest-mobile-apps-management/index.html#mobile-activateapp)).
319
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/app/background-app/
320
320
  *
321
321
  */
322
322
  background(seconds: (number | null)): Promise<void>;
@@ -324,7 +324,7 @@ export default interface AppiumCommands {
324
324
  * Appium Protocol Command
325
325
  *
326
326
  * Get test coverage data.
327
- * @ref http://appium.io/docs/en/commands/device/app/end-test-coverage/
327
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/app/end-test-coverage/
328
328
  *
329
329
  */
330
330
  endCoverage(intent: string, path: string): Promise<void>;
@@ -332,7 +332,7 @@ export default interface AppiumCommands {
332
332
  * Appium Protocol Command
333
333
  *
334
334
  * Get app strings.
335
- * @ref http://appium.io/docs/en/commands/device/app/get-app-strings/
335
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/app/get-app-strings/
336
336
  *
337
337
  */
338
338
  getStrings(language?: string, stringFile?: string): Promise<StringsReturn>;
@@ -356,7 +356,7 @@ export default interface AppiumCommands {
356
356
  * Appium Protocol Command
357
357
  *
358
358
  * Retrieve the current settings on the device.
359
- * @ref http://appium.io/docs/en/commands/session/settings/get-settings/
359
+ * @ref https://appium.github.io/appium.io/docs/en/commands/session/settings/get-settings/
360
360
  *
361
361
  */
362
362
  getSettings(): Promise<SettingsReturn>;
@@ -364,7 +364,7 @@ export default interface AppiumCommands {
364
364
  * Appium Protocol Command
365
365
  *
366
366
  * Update the current setting on the device.
367
- * @ref http://appium.io/docs/en/commands/session/settings/update-settings/
367
+ * @ref https://appium.github.io/appium.io/docs/en/commands/session/settings/update-settings/
368
368
  *
369
369
  */
370
370
  updateSettings(settings: object): Promise<void>;
@@ -380,7 +380,7 @@ export default interface AppiumCommands {
380
380
  * Appium Protocol Command
381
381
  *
382
382
  * Make GSM call (Emulator only).
383
- * @ref http://appium.io/docs/en/commands/device/network/gsm-call/
383
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/network/gsm-call/
384
384
  *
385
385
  */
386
386
  gsmCall(phoneNumber: string, action: string): Promise<void>;
@@ -388,7 +388,7 @@ export default interface AppiumCommands {
388
388
  * Appium Protocol Command
389
389
  *
390
390
  * Set GSM signal strength (Emulator only).
391
- * @ref http://appium.io/docs/en/commands/device/network/gsm-signal/
391
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/network/gsm-signal/
392
392
  *
393
393
  */
394
394
  gsmSignal(signalStrength: string, signalStrengh?: string): Promise<void>;
@@ -396,7 +396,7 @@ export default interface AppiumCommands {
396
396
  * Appium Protocol Command
397
397
  *
398
398
  * Set the battery percentage (Emulator only).
399
- * @ref http://appium.io/docs/en/commands/device/emulator/power_capacity/
399
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/emulator/power_capacity/
400
400
  *
401
401
  */
402
402
  powerCapacity(percent: number): Promise<void>;
@@ -404,7 +404,7 @@ export default interface AppiumCommands {
404
404
  * Appium Protocol Command
405
405
  *
406
406
  * Set the state of the battery charger to connected or not (Emulator only).
407
- * @ref http://appium.io/docs/en/commands/device/emulator/power_ac/
407
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/emulator/power_ac/
408
408
  *
409
409
  */
410
410
  powerAC(state: string): Promise<void>;
@@ -412,7 +412,7 @@ export default interface AppiumCommands {
412
412
  * Appium Protocol Command
413
413
  *
414
414
  * Set GSM voice state (Emulator only).
415
- * @ref http://appium.io/docs/en/commands/device/network/gsm-voice/
415
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/network/gsm-voice/
416
416
  *
417
417
  */
418
418
  gsmVoice(state: string): Promise<void>;
@@ -420,7 +420,7 @@ export default interface AppiumCommands {
420
420
  * Appium Protocol Command
421
421
  *
422
422
  * Simulate an SMS message (Emulator only).
423
- * @ref http://appium.io/docs/en/commands/device/network/send-sms/
423
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/network/send-sms/
424
424
  *
425
425
  */
426
426
  sendSms(phoneNumber: string, message: string): Promise<void>;
@@ -428,7 +428,7 @@ export default interface AppiumCommands {
428
428
  * Appium Protocol Command
429
429
  *
430
430
  * Authenticate users by using their finger print scans on supported emulators.
431
- * @ref http://appium.io/docs/en/commands/device/authentication/finger-print/
431
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/authentication/finger-print/
432
432
  *
433
433
  */
434
434
  fingerPrint(fingerprintId: number): Promise<void>;
@@ -436,7 +436,7 @@ export default interface AppiumCommands {
436
436
  * Appium Protocol Command
437
437
  *
438
438
  * Set the content of the system clipboard
439
- * @ref http://appium.io/docs/en/commands/device/clipboard/set-clipboard/
439
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/clipboard/set-clipboard/
440
440
  *
441
441
  */
442
442
  setClipboard(content: string, contentType?: string, label?: string): Promise<string>;
@@ -444,7 +444,7 @@ export default interface AppiumCommands {
444
444
  * Appium Protocol Command
445
445
  *
446
446
  * Get the content of the system clipboard
447
- * @ref http://appium.io/docs/en/commands/device/clipboard/get-clipboard/
447
+ * @ref https://appium.github.io/appium.io/docs/en/commands/device/clipboard/get-clipboard/
448
448
  *
449
449
  */
450
450
  getClipboard(contentType?: string): Promise<string>;
@@ -452,7 +452,7 @@ export default interface AppiumCommands {
452
452
  * Appium Protocol Command
453
453
  *
454
454
  * This functionality is only available from within a native context. 'Touch Perform' works similarly to the other singular touch interactions, except that this allows you to chain together more than one touch action as one command. This is useful because Appium commands are sent over the network and there's latency between commands. This latency can make certain touch interactions impossible because some interactions need to be performed in one sequence. Vertical, for example, requires pressing down, moving to a different y coordinate, and then releasing. For it to work, there can't be a delay between the interactions.
455
- * @ref http://appium.io/docs/en/commands/interactions/touch/touch-perform/
455
+ * @ref https://appium.github.io/appium.io/docs/en/commands/interactions/touch/touch-perform/
456
456
  *
457
457
  * @example
458
458
  * ```js
@@ -498,7 +498,7 @@ export default interface AppiumCommands {
498
498
  * Appium Protocol Command
499
499
  *
500
500
  * This functionality is only available from within a native context. Perform a multi touch action sequence.
501
- * @ref http://appium.io/docs/en/commands/interactions/touch/multi-touch-perform/
501
+ * @ref https://appium.github.io/appium.io/docs/en/commands/interactions/touch/multi-touch-perform/
502
502
  *
503
503
  */
504
504
  multiTouchPerform(actions: object[]): Promise<void>;
@@ -530,7 +530,7 @@ export default interface AppiumCommands {
530
530
  * Appium Protocol Command
531
531
  *
532
532
  * Performs images comparison using OpenCV framework features. It is expected that both OpenCV framework and opencv4nodejs module are installed on the machine where Appium server is running.
533
- * @ref http://appium.io/docs/en/writing-running-appium/image-comparison/
533
+ * @ref https://appium.github.io/appium.io/docs/en/writing-running-appium/image-comparison/
534
534
  *
535
535
  */
536
536
  compareImages(mode: string, firstImage: string, secondImage: string, options: object): Promise<ProtocolCommandResponse>;
@@ -1,20 +1,3 @@
1
- import type { BidiResponse } from '../types.js';
2
1
  export default interface WebdriverBidiCommands {
3
- /**
4
- * WebdriverBidi Protocol Command
5
- *
6
- * Send socket commands via WebDriver Bidi
7
- * @ref https://github.com/w3c/webdriver-bidi
8
- *
9
- */
10
- send(params: object): Promise<BidiResponse>;
11
- /**
12
- * WebdriverBidi Protocol Command
13
- *
14
- * Send asynchronous socket commands via WebDriver Bidi
15
- * @ref https://github.com/w3c/webdriver-bidi
16
- *
17
- */
18
- sendAsync(params: object): Promise<void>;
19
2
  }
20
3
  //# sourceMappingURL=webdriverBidi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"webdriverBidi.d.ts","sourceRoot":"","sources":["../../src/commands/webdriverBidi.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAG/C,MAAM,CAAC,OAAO,WAAW,qBAAqB;IAE1C;;;;;;OAMG;IACH,IAAI,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAE5C;;;;;;OAMG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5C"}
1
+ {"version":3,"file":"webdriverBidi.d.ts","sourceRoot":"","sources":["../../src/commands/webdriverBidi.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,WAAW,qBAAqB;CAC7C"}
package/build/index.d.ts CHANGED
@@ -6,7 +6,6 @@ import type MJSONWPCommands from './commands/mjsonwp.js';
6
6
  import type SauceLabsCommands from './commands/saucelabs.js';
7
7
  import type SeleniumCommands from './commands/selenium.js';
8
8
  import type WebDriverCommands from './commands/webdriver.js';
9
- import type WebDriverBidiCommands from './commands/webdriverBidi.js';
10
9
  import WebDriverProtocol from './protocols/webdriver.js';
11
10
  import WebDriverBidiProtocol from './protocols/webdriverBidi.js';
12
11
  import MJsonWProtocol from './protocols/mjsonwp.js';
@@ -16,9 +15,9 @@ import ChromiumProtocol from './protocols/chromium.js';
16
15
  import GeckoProtocol from './protocols/gecko.js';
17
16
  import SauceLabsProtocol from './protocols/saucelabs.js';
18
17
  import SeleniumProtocol from './protocols/selenium.js';
19
- export interface ProtocolCommands extends WebDriverCommands, Omit<JSONWPCommands, keyof WebDriverCommands>, AppiumCommands, ChromiumCommands, Omit<MJSONWPCommands, keyof AppiumCommands | keyof ChromiumCommands>, SauceLabsCommands, SeleniumCommands, GeckoCommands, WebDriverBidiCommands {
18
+ export interface ProtocolCommands extends WebDriverCommands, Omit<JSONWPCommands, keyof WebDriverCommands>, AppiumCommands, ChromiumCommands, Omit<MJSONWPCommands, keyof AppiumCommands | keyof ChromiumCommands>, SauceLabsCommands, SeleniumCommands, GeckoCommands {
20
19
  }
21
20
  export * from './types.js';
22
- export { WebDriverProtocol, MJsonWProtocol, JsonWProtocol, AppiumProtocol, ChromiumProtocol, SauceLabsProtocol, SeleniumProtocol, GeckoProtocol, WebDriverBidiProtocol, AppiumCommands, ChromiumCommands, JSONWPCommands, MJSONWPCommands, SauceLabsCommands, SeleniumCommands, WebDriverCommands, GeckoCommands, WebDriverBidiCommands };
21
+ export { WebDriverProtocol, MJsonWProtocol, JsonWProtocol, AppiumProtocol, ChromiumProtocol, SauceLabsProtocol, SeleniumProtocol, GeckoProtocol, WebDriverBidiProtocol, AppiumCommands, ChromiumCommands, JSONWPCommands, MJSONWPCommands, SauceLabsCommands, SeleniumCommands, WebDriverCommands, GeckoCommands };
23
22
  export declare const CAPABILITY_KEYS: string[];
24
23
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,aAAa,MAAM,qBAAqB,CAAA;AACpD,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAA;AACxD,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAA;AAC5D,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAA;AAC5D,OAAO,KAAK,qBAAqB,MAAM,6BAA6B,CAAA;AAEpE,OAAO,iBAAiB,MAAM,0BAA0B,CAAA;AACxD,OAAO,qBAAqB,MAAM,8BAA8B,CAAA;AAChE,OAAO,cAAc,MAAM,wBAAwB,CAAA;AACnD,OAAO,aAAa,MAAM,uBAAuB,CAAA;AACjD,OAAO,cA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