appium-xcuitest-driver 9.2.2 → 9.2.4

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/lib/method-map.js CHANGED
@@ -3,25 +3,78 @@ export const newMethodMap = /** @type {const} */ ({
3
3
  POST: {
4
4
  command: 'asyncScriptTimeout',
5
5
  payloadParams: {required: ['ms']},
6
+ deprecated: true,
6
7
  },
7
8
  },
8
9
  '/session/:sessionId/timeouts/implicit_wait': {
9
- POST: {command: 'implicitWait', payloadParams: {required: ['ms']}},
10
+ POST: {
11
+ command: 'implicitWait',
12
+ payloadParams: {required: ['ms']},
13
+ deprecated: true
14
+ },
15
+ },
16
+ '/session/:sessionId/window/:windowhandle/size': {
17
+ GET: {
18
+ command: 'getWindowSize',
19
+ deprecated: true
20
+ }
21
+ },
22
+ '/session/:sessionId/element/:elementId/submit': {
23
+ POST: {
24
+ command: 'submit',
25
+ deprecated: true
26
+ }
10
27
  },
11
- '/session/:sessionId/window/:windowhandle/size': {GET: {command: 'getWindowSize'}},
12
- '/session/:sessionId/element/:elementId/submit': {POST: {command: 'submit'}},
13
28
  '/session/:sessionId/keys': {
14
- POST: {command: 'keys', payloadParams: {required: ['value']}},
29
+ POST: {
30
+ command: 'keys',
31
+ payloadParams: {required: ['value']},
32
+ deprecated: true
33
+ },
34
+ },
35
+ '/session/:sessionId/element/:elementId/location': {
36
+ GET: {
37
+ command: 'getLocation',
38
+ deprecated: true
39
+ }
40
+ },
41
+ '/session/:sessionId/element/:elementId/location_in_view': {
42
+ GET: {
43
+ command: 'getLocationInView',
44
+ deprecated: true
45
+ }
46
+ },
47
+ '/session/:sessionId/element/:elementId/size': {
48
+ GET: {
49
+ command: 'getSize',
50
+ deprecated: true
51
+ }
52
+ },
53
+ '/session/:sessionId/appium/device/shake': {
54
+ POST: {
55
+ command: 'mobileShake',
56
+ deprecated: true
57
+ }
15
58
  },
16
- '/session/:sessionId/element/:elementId/location': {GET: {command: 'getLocation'}},
17
- '/session/:sessionId/element/:elementId/location_in_view': {GET: {command: 'getLocationInView'}},
18
- '/session/:sessionId/element/:elementId/size': {GET: {command: 'getSize'}},
19
- '/session/:sessionId/appium/device/shake': {POST: {command: 'mobileShake'}},
20
59
  '/session/:sessionId/appium/device/lock': {
21
- POST: {command: 'lock', payloadParams: {optional: ['seconds']}},
60
+ POST: {
61
+ command: 'lock',
62
+ payloadParams: {optional: ['seconds']},
63
+ deprecated: true
64
+ },
65
+ },
66
+ '/session/:sessionId/appium/device/unlock': {
67
+ POST: {
68
+ command: 'unlock',
69
+ deprecated: true
70
+ }
71
+ },
72
+ '/session/:sessionId/appium/device/is_locked': {
73
+ POST: {
74
+ command: 'isLocked',
75
+ deprecated: true
76
+ }
22
77
  },
23
- '/session/:sessionId/appium/device/unlock': {POST: {command: 'unlock'}},
24
- '/session/:sessionId/appium/device/is_locked': {POST: {command: 'isLocked'}},
25
78
  '/session/:sessionId/appium/start_recording_screen': {
26
79
  POST: {
27
80
  command: 'startRecordingScreen',
@@ -38,48 +91,74 @@ export const newMethodMap = /** @type {const} */ ({
38
91
  POST: {
39
92
  command: 'queryAppState',
40
93
  payloadParams: {required: [['appId'], ['bundleId']]},
94
+ deprecated: true
41
95
  },
42
96
  },
43
97
  '/session/:sessionId/appium/simulator/touch_id': {
44
- POST: {command: 'touchId', payloadParams: {required: ['match']}},
98
+ POST: {
99
+ command: 'touchId',
100
+ payloadParams: {required: ['match']},
101
+ deprecated: true
102
+ },
45
103
  },
46
104
  '/session/:sessionId/appium/simulator/toggle_touch_id_enrollment': {
47
105
  POST: {
48
106
  command: 'toggleEnrollTouchId',
49
107
  payloadParams: {optional: ['enabled']},
108
+ deprecated: true
50
109
  },
51
110
  },
52
- '/session/:sessionId/appium/app/launch': {POST: {command: 'launchApp'}},
53
- '/session/:sessionId/appium/app/close': {POST: {command: 'closeApp'}},
54
- '/session/:sessionId/appium/app/reset': {POST: {command: 'reset'}},
111
+ '/session/:sessionId/appium/app/launch': {
112
+ POST: {
113
+ command: 'launchApp',
114
+ deprecated: true
115
+ }
116
+ },
117
+ '/session/:sessionId/appium/app/close': {
118
+ POST: {
119
+ command: 'closeApp',
120
+ deprecated: true
121
+ }
122
+ },
123
+ '/session/:sessionId/appium/app/reset': {
124
+ POST: {
125
+ command: 'reset',
126
+ deprecated: true
127
+ }
128
+ },
55
129
  '/session/:sessionId/appium/app/background': {
56
130
  POST: {
57
131
  command: 'background',
58
132
  payloadParams: {required: ['seconds']},
133
+ deprecated: true
59
134
  },
60
135
  },
61
136
  '/session/:sessionId/appium/app/strings': {
62
137
  POST: {
63
138
  command: 'getStrings',
64
139
  payloadParams: {optional: ['language', 'stringFile']},
140
+ deprecated: true
65
141
  },
66
142
  },
67
143
  '/session/:sessionId/appium/element/:elementId/value': {
68
144
  POST: {
69
145
  command: 'setValueImmediate',
70
146
  payloadParams: {required: ['text']},
147
+ deprecated: true
71
148
  },
72
149
  },
73
150
  '/session/:sessionId/appium/receive_async_response': {
74
151
  POST: {
75
152
  command: 'receiveAsyncResponse',
76
153
  payloadParams: {required: ['response']},
154
+ deprecated: true
77
155
  },
78
156
  },
79
157
  '/session/:sessionId/appium/device/get_clipboard': {
80
158
  POST: {
81
159
  command: 'getClipboard',
82
160
  payloadParams: {optional: ['contentType']},
161
+ deprecated: true
83
162
  },
84
163
  },
85
164
  '/session/:sessionId/appium/device/set_clipboard': {
@@ -89,6 +168,7 @@ export const newMethodMap = /** @type {const} */ ({
89
168
  required: ['content'],
90
169
  optional: ['contentType', 'label'],
91
170
  },
171
+ deprecated: true
92
172
  },
93
173
  },
94
174
  });