@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.
- package/build/commands/appium.d.ts +57 -57
- package/build/commands/webdriverBidi.d.ts +0 -17
- package/build/commands/webdriverBidi.d.ts.map +1 -1
- package/build/index.d.ts +2 -3
- package/build/index.d.ts.map +1 -1
- package/build/protocols/appium.js +57 -57
- package/build/protocols/mjsonwp.js +1 -1
- package/build/protocols/webdriverBidi.d.ts +350 -0
- package/build/protocols/webdriverBidi.d.ts.map +1 -1
- package/build/protocols/webdriverBidi.js +428 -34
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@ export default {
|
|
|
3
3
|
POST: {
|
|
4
4
|
command: 'shake',
|
|
5
5
|
description: 'Perform a shake action on the device.',
|
|
6
|
-
ref: '
|
|
6
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/interactions/shake/',
|
|
7
7
|
parameters: [],
|
|
8
8
|
support: {
|
|
9
9
|
ios: {
|
|
@@ -17,7 +17,7 @@ export default {
|
|
|
17
17
|
POST: {
|
|
18
18
|
command: 'lock',
|
|
19
19
|
description: 'Lock the device.',
|
|
20
|
-
ref: '
|
|
20
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/interactions/lock/',
|
|
21
21
|
parameters: [
|
|
22
22
|
{
|
|
23
23
|
name: 'seconds',
|
|
@@ -43,7 +43,7 @@ export default {
|
|
|
43
43
|
POST: {
|
|
44
44
|
command: 'unlock',
|
|
45
45
|
description: 'Unlock the device.',
|
|
46
|
-
ref: '
|
|
46
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/interactions/unlock/',
|
|
47
47
|
parameters: [],
|
|
48
48
|
support: {
|
|
49
49
|
android: {
|
|
@@ -59,7 +59,7 @@ export default {
|
|
|
59
59
|
POST: {
|
|
60
60
|
command: 'isLocked',
|
|
61
61
|
description: 'Check whether the device is locked or not.',
|
|
62
|
-
ref: '
|
|
62
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/interactions/is-locked/',
|
|
63
63
|
parameters: [],
|
|
64
64
|
returns: {
|
|
65
65
|
type: 'boolean',
|
|
@@ -80,7 +80,7 @@ export default {
|
|
|
80
80
|
POST: {
|
|
81
81
|
command: 'startRecordingScreen',
|
|
82
82
|
description: 'Start recording the screen.',
|
|
83
|
-
ref: '
|
|
83
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/recording-screen/start-recording-screen/',
|
|
84
84
|
parameters: [
|
|
85
85
|
{
|
|
86
86
|
name: 'options',
|
|
@@ -103,7 +103,7 @@ export default {
|
|
|
103
103
|
POST: {
|
|
104
104
|
command: 'stopRecordingScreen',
|
|
105
105
|
description: 'Stop recording screen',
|
|
106
|
-
ref: '
|
|
106
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/recording-screen/stop-recording-screen/',
|
|
107
107
|
parameters: [
|
|
108
108
|
{
|
|
109
109
|
name: 'remotePath',
|
|
@@ -149,7 +149,7 @@ export default {
|
|
|
149
149
|
POST: {
|
|
150
150
|
command: 'getPerformanceDataTypes',
|
|
151
151
|
description: 'Returns the information types of the system state which is supported to read as like cpu, memory, network traffic, and battery.',
|
|
152
|
-
ref: '
|
|
152
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/performance-data/performance-data-types/',
|
|
153
153
|
parameters: [],
|
|
154
154
|
returns: {
|
|
155
155
|
type: 'string[]',
|
|
@@ -167,7 +167,7 @@ export default {
|
|
|
167
167
|
POST: {
|
|
168
168
|
command: 'getPerformanceData',
|
|
169
169
|
description: 'Returns the information of the system state which is supported to read as like cpu, memory, network traffic, and battery.',
|
|
170
|
-
ref: '
|
|
170
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/performance-data/get-performance-data/',
|
|
171
171
|
parameters: [
|
|
172
172
|
{
|
|
173
173
|
name: 'packageName',
|
|
@@ -204,7 +204,7 @@ export default {
|
|
|
204
204
|
POST: {
|
|
205
205
|
command: 'pressKeyCode',
|
|
206
206
|
description: 'Press a particular key on the device.',
|
|
207
|
-
ref: '
|
|
207
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/keys/press-keycode/',
|
|
208
208
|
parameters: [
|
|
209
209
|
{
|
|
210
210
|
name: 'keycode',
|
|
@@ -236,7 +236,7 @@ export default {
|
|
|
236
236
|
POST: {
|
|
237
237
|
command: 'longPressKeyCode',
|
|
238
238
|
description: 'Press and hold a particular key code on the device.',
|
|
239
|
-
ref: '
|
|
239
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/keys/long-press-keycode/',
|
|
240
240
|
parameters: [
|
|
241
241
|
{
|
|
242
242
|
name: 'keycode',
|
|
@@ -290,7 +290,7 @@ export default {
|
|
|
290
290
|
POST: {
|
|
291
291
|
command: 'rotateDevice',
|
|
292
292
|
description: 'Rotate the device in three dimensions.',
|
|
293
|
-
ref: '
|
|
293
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/interactions/rotate/',
|
|
294
294
|
parameters: [
|
|
295
295
|
{
|
|
296
296
|
name: 'x',
|
|
@@ -352,7 +352,7 @@ export default {
|
|
|
352
352
|
GET: {
|
|
353
353
|
command: 'getCurrentActivity',
|
|
354
354
|
description: 'Get the name of the current Android activity.',
|
|
355
|
-
ref: '
|
|
355
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/activity/current-activity/',
|
|
356
356
|
parameters: [],
|
|
357
357
|
returns: {
|
|
358
358
|
type: 'string',
|
|
@@ -370,7 +370,7 @@ export default {
|
|
|
370
370
|
GET: {
|
|
371
371
|
command: 'getCurrentPackage',
|
|
372
372
|
description: 'Get the name of the current Android package.',
|
|
373
|
-
ref: '
|
|
373
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/activity/current-package/',
|
|
374
374
|
parameters: [],
|
|
375
375
|
returns: {
|
|
376
376
|
type: 'string',
|
|
@@ -388,7 +388,7 @@ export default {
|
|
|
388
388
|
POST: {
|
|
389
389
|
command: 'installApp',
|
|
390
390
|
description: 'Install the given app onto the device.',
|
|
391
|
-
ref: '
|
|
391
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/app/install-app/',
|
|
392
392
|
parameters: [
|
|
393
393
|
{
|
|
394
394
|
name: 'appPath',
|
|
@@ -412,7 +412,7 @@ export default {
|
|
|
412
412
|
POST: {
|
|
413
413
|
command: 'activateApp',
|
|
414
414
|
description: 'Activate the given app onto the device',
|
|
415
|
-
ref: '
|
|
415
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/app/activate-app/',
|
|
416
416
|
parameters: [
|
|
417
417
|
{
|
|
418
418
|
name: 'appId',
|
|
@@ -435,7 +435,7 @@ export default {
|
|
|
435
435
|
POST: {
|
|
436
436
|
command: 'removeApp',
|
|
437
437
|
description: 'Remove an app from the device.',
|
|
438
|
-
ref: '
|
|
438
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/app/remove-app/',
|
|
439
439
|
parameters: [
|
|
440
440
|
{
|
|
441
441
|
name: 'appId',
|
|
@@ -459,7 +459,7 @@ export default {
|
|
|
459
459
|
POST: {
|
|
460
460
|
command: 'terminateApp',
|
|
461
461
|
description: 'Terminate the given app on the device',
|
|
462
|
-
ref: '
|
|
462
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/app/terminate-app/',
|
|
463
463
|
parameters: [
|
|
464
464
|
{
|
|
465
465
|
name: 'appId',
|
|
@@ -482,7 +482,7 @@ export default {
|
|
|
482
482
|
POST: {
|
|
483
483
|
command: 'isAppInstalled',
|
|
484
484
|
description: 'Check whether the specified app is installed on the device.',
|
|
485
|
-
ref: '
|
|
485
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/app/is-app-installed/',
|
|
486
486
|
parameters: [
|
|
487
487
|
{
|
|
488
488
|
name: 'appId',
|
|
@@ -511,7 +511,7 @@ export default {
|
|
|
511
511
|
POST: {
|
|
512
512
|
command: 'queryAppState',
|
|
513
513
|
description: 'Get the given app status on the device',
|
|
514
|
-
ref: '
|
|
514
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/app/app-state/',
|
|
515
515
|
parameters: [
|
|
516
516
|
{
|
|
517
517
|
name: 'appId',
|
|
@@ -539,7 +539,7 @@ export default {
|
|
|
539
539
|
POST: {
|
|
540
540
|
command: 'hideKeyboard',
|
|
541
541
|
description: 'Hide soft keyboard.',
|
|
542
|
-
ref: '
|
|
542
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/keys/hide-keyboard/',
|
|
543
543
|
parameters: [
|
|
544
544
|
{
|
|
545
545
|
name: 'strategy',
|
|
@@ -584,7 +584,7 @@ export default {
|
|
|
584
584
|
GET: {
|
|
585
585
|
command: 'isKeyboardShown',
|
|
586
586
|
description: 'Whether or not the soft keyboard is shown.',
|
|
587
|
-
ref: '
|
|
587
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/keys/is-keyboard-shown/',
|
|
588
588
|
parameters: [],
|
|
589
589
|
returns: {
|
|
590
590
|
type: 'boolean',
|
|
@@ -609,7 +609,7 @@ export default {
|
|
|
609
609
|
POST: {
|
|
610
610
|
command: 'pushFile',
|
|
611
611
|
description: 'Place a file onto the device in a particular place.',
|
|
612
|
-
ref: '
|
|
612
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/files/push-file/',
|
|
613
613
|
parameters: [
|
|
614
614
|
{
|
|
615
615
|
name: 'path',
|
|
@@ -639,7 +639,7 @@ export default {
|
|
|
639
639
|
POST: {
|
|
640
640
|
command: 'pullFile',
|
|
641
641
|
description: "Retrieve a file from the device's file system.",
|
|
642
|
-
ref: '
|
|
642
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/files/pull-file/',
|
|
643
643
|
parameters: [
|
|
644
644
|
{
|
|
645
645
|
name: 'path',
|
|
@@ -668,7 +668,7 @@ export default {
|
|
|
668
668
|
POST: {
|
|
669
669
|
command: 'pullFolder',
|
|
670
670
|
description: "Retrieve a folder from the device's file system.",
|
|
671
|
-
ref: '
|
|
671
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/files/pull-folder/',
|
|
672
672
|
parameters: [
|
|
673
673
|
{
|
|
674
674
|
name: 'path',
|
|
@@ -692,7 +692,7 @@ export default {
|
|
|
692
692
|
POST: {
|
|
693
693
|
command: 'toggleAirplaneMode',
|
|
694
694
|
description: 'Toggle airplane mode on device.',
|
|
695
|
-
ref: '
|
|
695
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/network/toggle-airplane-mode/',
|
|
696
696
|
parameters: [],
|
|
697
697
|
support: {
|
|
698
698
|
android: {
|
|
@@ -705,7 +705,7 @@ export default {
|
|
|
705
705
|
POST: {
|
|
706
706
|
command: 'toggleData',
|
|
707
707
|
description: 'Switch the state of data service.',
|
|
708
|
-
ref: '
|
|
708
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/network/toggle-data/',
|
|
709
709
|
parameters: [],
|
|
710
710
|
support: {
|
|
711
711
|
android: {
|
|
@@ -718,7 +718,7 @@ export default {
|
|
|
718
718
|
POST: {
|
|
719
719
|
command: 'toggleWiFi',
|
|
720
720
|
description: 'Switch the state of the wifi service.',
|
|
721
|
-
ref: '
|
|
721
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/network/toggle-wifi/',
|
|
722
722
|
parameters: [],
|
|
723
723
|
support: {
|
|
724
724
|
android: {
|
|
@@ -731,7 +731,7 @@ export default {
|
|
|
731
731
|
POST: {
|
|
732
732
|
command: 'toggleLocationServices',
|
|
733
733
|
description: 'Switch the state of the location service.',
|
|
734
|
-
ref: '
|
|
734
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/network/toggle-location-services/',
|
|
735
735
|
parameters: [],
|
|
736
736
|
support: {
|
|
737
737
|
android: {
|
|
@@ -744,7 +744,7 @@ export default {
|
|
|
744
744
|
POST: {
|
|
745
745
|
command: 'toggleNetworkSpeed',
|
|
746
746
|
description: 'Set network speed (Emulator only)',
|
|
747
|
-
ref: '
|
|
747
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/network/network-speed/',
|
|
748
748
|
parameters: [
|
|
749
749
|
{
|
|
750
750
|
name: 'netspeed',
|
|
@@ -764,7 +764,7 @@ export default {
|
|
|
764
764
|
POST: {
|
|
765
765
|
command: 'openNotifications',
|
|
766
766
|
description: 'Open Android notifications (Emulator only).',
|
|
767
|
-
ref: '
|
|
767
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/system/open-notifications/',
|
|
768
768
|
parameters: [],
|
|
769
769
|
support: {
|
|
770
770
|
android: {
|
|
@@ -777,7 +777,7 @@ export default {
|
|
|
777
777
|
POST: {
|
|
778
778
|
command: 'startActivity',
|
|
779
779
|
description: 'Start an Android activity by providing package name and activity name.',
|
|
780
|
-
ref: '
|
|
780
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/activity/start-activity/',
|
|
781
781
|
parameters: [
|
|
782
782
|
{
|
|
783
783
|
name: 'appPackage',
|
|
@@ -848,7 +848,7 @@ export default {
|
|
|
848
848
|
GET: {
|
|
849
849
|
command: 'getSystemBars',
|
|
850
850
|
description: 'Retrieve visibility and bounds information of the status and navigation bars.',
|
|
851
|
-
ref: '
|
|
851
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/system/system-bars/',
|
|
852
852
|
parameters: [],
|
|
853
853
|
returns: {
|
|
854
854
|
type: 'object[]',
|
|
@@ -866,7 +866,7 @@ export default {
|
|
|
866
866
|
GET: {
|
|
867
867
|
command: 'getDeviceTime',
|
|
868
868
|
description: 'Get the time on the device.',
|
|
869
|
-
ref: '
|
|
869
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/system/system-time/',
|
|
870
870
|
parameters: [],
|
|
871
871
|
returns: {
|
|
872
872
|
type: 'string',
|
|
@@ -904,8 +904,8 @@ export default {
|
|
|
904
904
|
'/session/:sessionId/appium/simulator/touch_id': {
|
|
905
905
|
POST: {
|
|
906
906
|
command: 'touchId',
|
|
907
|
-
description: '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](
|
|
908
|
-
ref: '
|
|
907
|
+
description: '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.',
|
|
908
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/simulator/touch-id/',
|
|
909
909
|
parameters: [
|
|
910
910
|
{
|
|
911
911
|
name: 'match',
|
|
@@ -925,7 +925,7 @@ export default {
|
|
|
925
925
|
POST: {
|
|
926
926
|
command: 'toggleEnrollTouchId',
|
|
927
927
|
description: "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.",
|
|
928
|
-
ref: '
|
|
928
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/simulator/toggle-touch-id-enrollment/',
|
|
929
929
|
parameters: [
|
|
930
930
|
{
|
|
931
931
|
name: 'enabled',
|
|
@@ -945,8 +945,8 @@ export default {
|
|
|
945
945
|
'/session/:sessionId/appium/app/launch': {
|
|
946
946
|
POST: {
|
|
947
947
|
command: 'launchApp',
|
|
948
|
-
description: 'Launch an app on device. iOS tests with XCUITest can also use the `mobile: launchApp` method. See detailed [documentation](
|
|
949
|
-
ref: '
|
|
948
|
+
description: '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).',
|
|
949
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/app/launch-app/',
|
|
950
950
|
parameters: [],
|
|
951
951
|
support: {
|
|
952
952
|
ios: {
|
|
@@ -963,7 +963,7 @@ export default {
|
|
|
963
963
|
POST: {
|
|
964
964
|
command: 'closeApp',
|
|
965
965
|
description: 'Close an app on device.',
|
|
966
|
-
ref: '
|
|
966
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/app/close-app/',
|
|
967
967
|
parameters: [],
|
|
968
968
|
support: {
|
|
969
969
|
ios: {
|
|
@@ -979,8 +979,8 @@ export default {
|
|
|
979
979
|
'/session/:sessionId/appium/app/background': {
|
|
980
980
|
POST: {
|
|
981
981
|
command: 'background',
|
|
982
|
-
description: '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](
|
|
983
|
-
ref: '
|
|
982
|
+
description: '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)).',
|
|
983
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/app/background-app/',
|
|
984
984
|
parameters: [
|
|
985
985
|
{
|
|
986
986
|
name: 'seconds',
|
|
@@ -1005,7 +1005,7 @@ export default {
|
|
|
1005
1005
|
POST: {
|
|
1006
1006
|
command: 'endCoverage',
|
|
1007
1007
|
description: 'Get test coverage data.',
|
|
1008
|
-
ref: '
|
|
1008
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/app/end-test-coverage/',
|
|
1009
1009
|
parameters: [
|
|
1010
1010
|
{
|
|
1011
1011
|
name: 'intent',
|
|
@@ -1031,7 +1031,7 @@ export default {
|
|
|
1031
1031
|
POST: {
|
|
1032
1032
|
command: 'getStrings',
|
|
1033
1033
|
description: 'Get app strings.',
|
|
1034
|
-
ref: '
|
|
1034
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/app/get-app-strings/',
|
|
1035
1035
|
parameters: [
|
|
1036
1036
|
{
|
|
1037
1037
|
name: 'language',
|
|
@@ -1121,7 +1121,7 @@ export default {
|
|
|
1121
1121
|
GET: {
|
|
1122
1122
|
command: 'getSettings',
|
|
1123
1123
|
description: 'Retrieve the current settings on the device.',
|
|
1124
|
-
ref: '
|
|
1124
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/session/settings/get-settings/',
|
|
1125
1125
|
parameters: [],
|
|
1126
1126
|
returns: {
|
|
1127
1127
|
type: 'object',
|
|
@@ -1144,7 +1144,7 @@ export default {
|
|
|
1144
1144
|
POST: {
|
|
1145
1145
|
command: 'updateSettings',
|
|
1146
1146
|
description: 'Update the current setting on the device.',
|
|
1147
|
-
ref: '
|
|
1147
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/session/settings/update-settings/',
|
|
1148
1148
|
parameters: [
|
|
1149
1149
|
{
|
|
1150
1150
|
name: 'settings',
|
|
@@ -1187,7 +1187,7 @@ export default {
|
|
|
1187
1187
|
POST: {
|
|
1188
1188
|
command: 'gsmCall',
|
|
1189
1189
|
description: 'Make GSM call (Emulator only).',
|
|
1190
|
-
ref: '
|
|
1190
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/network/gsm-call/',
|
|
1191
1191
|
parameters: [
|
|
1192
1192
|
{
|
|
1193
1193
|
name: 'phoneNumber',
|
|
@@ -1213,7 +1213,7 @@ export default {
|
|
|
1213
1213
|
POST: {
|
|
1214
1214
|
command: 'gsmSignal',
|
|
1215
1215
|
description: 'Set GSM signal strength (Emulator only).',
|
|
1216
|
-
ref: '
|
|
1216
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/network/gsm-signal/',
|
|
1217
1217
|
parameters: [
|
|
1218
1218
|
{
|
|
1219
1219
|
name: 'signalStrength',
|
|
@@ -1239,7 +1239,7 @@ export default {
|
|
|
1239
1239
|
POST: {
|
|
1240
1240
|
command: 'powerCapacity',
|
|
1241
1241
|
description: 'Set the battery percentage (Emulator only).',
|
|
1242
|
-
ref: '
|
|
1242
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/emulator/power_capacity/',
|
|
1243
1243
|
parameters: [
|
|
1244
1244
|
{
|
|
1245
1245
|
name: 'percent',
|
|
@@ -1259,7 +1259,7 @@ export default {
|
|
|
1259
1259
|
POST: {
|
|
1260
1260
|
command: 'powerAC',
|
|
1261
1261
|
description: 'Set the state of the battery charger to connected or not (Emulator only).',
|
|
1262
|
-
ref: '
|
|
1262
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/emulator/power_ac/',
|
|
1263
1263
|
parameters: [
|
|
1264
1264
|
{
|
|
1265
1265
|
name: 'state',
|
|
@@ -1279,7 +1279,7 @@ export default {
|
|
|
1279
1279
|
POST: {
|
|
1280
1280
|
command: 'gsmVoice',
|
|
1281
1281
|
description: 'Set GSM voice state (Emulator only).',
|
|
1282
|
-
ref: '
|
|
1282
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/network/gsm-voice/',
|
|
1283
1283
|
parameters: [
|
|
1284
1284
|
{
|
|
1285
1285
|
name: 'state',
|
|
@@ -1299,7 +1299,7 @@ export default {
|
|
|
1299
1299
|
POST: {
|
|
1300
1300
|
command: 'sendSms',
|
|
1301
1301
|
description: 'Simulate an SMS message (Emulator only).',
|
|
1302
|
-
ref: '
|
|
1302
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/network/send-sms/',
|
|
1303
1303
|
parameters: [
|
|
1304
1304
|
{
|
|
1305
1305
|
name: 'phoneNumber',
|
|
@@ -1325,7 +1325,7 @@ export default {
|
|
|
1325
1325
|
POST: {
|
|
1326
1326
|
command: 'fingerPrint',
|
|
1327
1327
|
description: 'Authenticate users by using their finger print scans on supported emulators.',
|
|
1328
|
-
ref: '
|
|
1328
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/authentication/finger-print/',
|
|
1329
1329
|
parameters: [
|
|
1330
1330
|
{
|
|
1331
1331
|
name: 'fingerprintId',
|
|
@@ -1345,7 +1345,7 @@ export default {
|
|
|
1345
1345
|
POST: {
|
|
1346
1346
|
command: 'setClipboard',
|
|
1347
1347
|
description: 'Set the content of the system clipboard',
|
|
1348
|
-
ref: '
|
|
1348
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/clipboard/set-clipboard/',
|
|
1349
1349
|
parameters: [
|
|
1350
1350
|
{
|
|
1351
1351
|
name: 'content',
|
|
@@ -1377,7 +1377,7 @@ export default {
|
|
|
1377
1377
|
POST: {
|
|
1378
1378
|
command: 'getClipboard',
|
|
1379
1379
|
description: 'Get the content of the system clipboard',
|
|
1380
|
-
ref: '
|
|
1380
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/device/clipboard/get-clipboard/',
|
|
1381
1381
|
parameters: [
|
|
1382
1382
|
{
|
|
1383
1383
|
name: 'contentType',
|
|
@@ -1397,7 +1397,7 @@ export default {
|
|
|
1397
1397
|
POST: {
|
|
1398
1398
|
command: 'touchPerform',
|
|
1399
1399
|
description: "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.",
|
|
1400
|
-
ref: '
|
|
1400
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/interactions/touch/touch-perform/',
|
|
1401
1401
|
parameters: [
|
|
1402
1402
|
{
|
|
1403
1403
|
name: 'actions',
|
|
@@ -1463,7 +1463,7 @@ export default {
|
|
|
1463
1463
|
POST: {
|
|
1464
1464
|
command: 'multiTouchPerform',
|
|
1465
1465
|
description: 'This functionality is only available from within a native context. Perform a multi touch action sequence.',
|
|
1466
|
-
ref: '
|
|
1466
|
+
ref: 'https://appium.github.io/appium.io/docs/en/commands/interactions/touch/multi-touch-perform/',
|
|
1467
1467
|
parameters: [
|
|
1468
1468
|
{
|
|
1469
1469
|
name: 'actions',
|
|
@@ -1563,7 +1563,7 @@ export default {
|
|
|
1563
1563
|
POST: {
|
|
1564
1564
|
command: 'compareImages',
|
|
1565
1565
|
description: '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.',
|
|
1566
|
-
ref: '
|
|
1566
|
+
ref: 'https://appium.github.io/appium.io/docs/en/writing-running-appium/image-comparison/',
|
|
1567
1567
|
parameters: [
|
|
1568
1568
|
{
|
|
1569
1569
|
name: 'mode',
|
|
@@ -54,7 +54,7 @@ export default {
|
|
|
54
54
|
returns: {
|
|
55
55
|
type: 'number',
|
|
56
56
|
name: 'connectionType',
|
|
57
|
-
description: 'see
|
|
57
|
+
description: 'see https://appium.github.io/appium.io/docs/en/writing-running-appium/other/network-connection/',
|
|
58
58
|
},
|
|
59
59
|
},
|
|
60
60
|
POST: {
|