appium-android-driver 5.8.5 → 5.8.7

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.
@@ -0,0 +1,219 @@
1
+ export const newMethodMap = /** @type {const} */ ({
2
+ '/session/:sessionId/timeouts/implicit_wait': {
3
+ POST: { command: 'implicitWait', payloadParams: { required: ['ms'] } }
4
+ },
5
+ '/session/:sessionId/ime/available_engines': { GET: { command: 'availableIMEEngines' } },
6
+ '/session/:sessionId/ime/active_engine': { GET: { command: 'getActiveIMEEngine' } },
7
+ '/session/:sessionId/ime/activated': { GET: { command: 'isIMEActivated' } },
8
+ '/session/:sessionId/ime/deactivate': { POST: { command: 'deactivateIMEEngine' } },
9
+ '/session/:sessionId/ime/activate': {
10
+ POST: {
11
+ command: 'activateIMEEngine',
12
+ payloadParams: { required: ['engine'] }
13
+ }
14
+ },
15
+ '/session/:sessionId/window/:windowhandle/size': { GET: { command: 'getWindowSize' } },
16
+ '/session/:sessionId/keys': {
17
+ POST: { command: 'keys', payloadParams: { required: ['value'] } }
18
+ },
19
+ '/session/:sessionId/element/:elementId/location': { GET: { command: 'getLocation' } },
20
+ '/session/:sessionId/element/:elementId/location_in_view': { GET: { command: 'getLocationInView' } },
21
+ '/session/:sessionId/element/:elementId/size': { GET: { command: 'getSize' } },
22
+ '/session/:sessionId/touch/click': {
23
+ POST: { command: 'click', payloadParams: { required: ['element'] } }
24
+ },
25
+ '/session/:sessionId/touch/down': {
26
+ POST: { command: 'touchDown', payloadParams: { required: ['x', 'y'] } }
27
+ },
28
+ '/session/:sessionId/touch/up': {
29
+ POST: { command: 'touchUp', payloadParams: { required: ['x', 'y'] } }
30
+ },
31
+ '/session/:sessionId/touch/move': {
32
+ POST: { command: 'touchMove', payloadParams: { required: ['x', 'y'] } }
33
+ },
34
+ '/session/:sessionId/touch/longclick': {
35
+ POST: {
36
+ command: 'touchLongClick',
37
+ payloadParams: { required: ['elements'] }
38
+ }
39
+ },
40
+ '/session/:sessionId/touch/flick': {
41
+ POST: {
42
+ command: 'flick',
43
+ payloadParams: {
44
+ optional: [
45
+ 'element',
46
+ 'xspeed',
47
+ 'yspeed',
48
+ 'xoffset',
49
+ 'yoffset',
50
+ 'speed'
51
+ ]
52
+ }
53
+ }
54
+ },
55
+ '/session/:sessionId/touch/perform': {
56
+ POST: {
57
+ command: 'performTouch',
58
+ payloadParams: { wrap: 'actions', required: ['actions'] }
59
+ }
60
+ },
61
+ '/session/:sessionId/touch/multi/perform': {
62
+ POST: {
63
+ command: 'performMultiAction',
64
+ payloadParams: { required: ['actions'], optional: ['elementId'] }
65
+ }
66
+ },
67
+ '/session/:sessionId/appium/device/lock': {
68
+ POST: { command: 'lock', payloadParams: { optional: ['seconds'] } }
69
+ },
70
+ '/session/:sessionId/appium/device/unlock': { POST: { command: 'unlock' } },
71
+ '/session/:sessionId/appium/device/is_locked': { POST: { command: 'isLocked' } },
72
+ '/session/:sessionId/appium/start_recording_screen': {
73
+ POST: {
74
+ command: 'startRecordingScreen',
75
+ payloadParams: { optional: ['options'] }
76
+ }
77
+ },
78
+ '/session/:sessionId/appium/stop_recording_screen': {
79
+ POST: {
80
+ command: 'stopRecordingScreen',
81
+ payloadParams: { optional: ['options'] }
82
+ }
83
+ },
84
+ '/session/:sessionId/appium/performanceData/types': { POST: { command: 'getPerformanceDataTypes' } },
85
+ '/session/:sessionId/appium/getPerformanceData': {
86
+ POST: {
87
+ command: 'getPerformanceData',
88
+ payloadParams: {
89
+ required: ['packageName', 'dataType'],
90
+ optional: ['dataReadTimeout']
91
+ }
92
+ }
93
+ },
94
+ '/session/:sessionId/appium/device/press_keycode': {
95
+ POST: {
96
+ command: 'pressKeyCode',
97
+ payloadParams: { required: ['keycode'], optional: ['metastate', 'flags'] }
98
+ }
99
+ },
100
+ '/session/:sessionId/appium/device/long_press_keycode': {
101
+ POST: {
102
+ command: 'longPressKeyCode',
103
+ payloadParams: { required: ['keycode'], optional: ['metastate', 'flags'] }
104
+ }
105
+ },
106
+ '/session/:sessionId/appium/device/finger_print': {
107
+ POST: {
108
+ command: 'fingerprint',
109
+ payloadParams: { required: ['fingerprintId'] }
110
+ }
111
+ },
112
+ '/session/:sessionId/appium/device/send_sms': {
113
+ POST: {
114
+ command: 'sendSMS',
115
+ payloadParams: { required: ['phoneNumber', 'message'] }
116
+ }
117
+ },
118
+ '/session/:sessionId/appium/device/gsm_call': {
119
+ POST: {
120
+ command: 'gsmCall',
121
+ payloadParams: { required: ['phoneNumber', 'action'] }
122
+ }
123
+ },
124
+ '/session/:sessionId/appium/device/gsm_signal': {
125
+ POST: {
126
+ command: 'gsmSignal',
127
+ payloadParams: { required: ['signalStrength'] }
128
+ }
129
+ },
130
+ '/session/:sessionId/appium/device/gsm_voice': {
131
+ POST: { command: 'gsmVoice', payloadParams: { required: ['state'] } }
132
+ },
133
+ '/session/:sessionId/appium/device/power_capacity': {
134
+ POST: {
135
+ command: 'powerCapacity',
136
+ payloadParams: { required: ['percent'] }
137
+ }
138
+ },
139
+ '/session/:sessionId/appium/device/power_ac': {
140
+ POST: { command: 'powerAC', payloadParams: { required: ['state'] } }
141
+ },
142
+ '/session/:sessionId/appium/device/network_speed': {
143
+ POST: {
144
+ command: 'networkSpeed',
145
+ payloadParams: { required: ['netspeed'] }
146
+ }
147
+ },
148
+ '/session/:sessionId/appium/device/keyevent': {
149
+ POST: {
150
+ command: 'keyevent',
151
+ payloadParams: { required: ['keycode'], optional: ['metastate'] }
152
+ }
153
+ },
154
+ '/session/:sessionId/appium/device/current_activity': { GET: { command: 'getCurrentActivity' } },
155
+ '/session/:sessionId/appium/device/current_package': { GET: { command: 'getCurrentPackage' } },
156
+ '/session/:sessionId/appium/device/app_state': {
157
+ POST: {
158
+ command: 'queryAppState',
159
+ payloadParams: { required: [['appId'], ['bundleId']] }
160
+ }
161
+ },
162
+ '/session/:sessionId/appium/device/toggle_airplane_mode': { POST: { command: 'toggleFlightMode' } },
163
+ '/session/:sessionId/appium/device/toggle_data': { POST: { command: 'toggleData' } },
164
+ '/session/:sessionId/appium/device/toggle_wifi': { POST: { command: 'toggleWiFi' } },
165
+ '/session/:sessionId/appium/device/toggle_location_services': { POST: { command: 'toggleLocationServices' } },
166
+ '/session/:sessionId/appium/device/open_notifications': { POST: { command: 'openNotifications' } },
167
+ '/session/:sessionId/appium/device/start_activity': {
168
+ POST: {
169
+ command: 'startActivity',
170
+ payloadParams: {
171
+ required: ['appPackage', 'appActivity'],
172
+ optional: [
173
+ 'appWaitPackage',
174
+ 'appWaitActivity',
175
+ 'intentAction',
176
+ 'intentCategory',
177
+ 'intentFlags',
178
+ 'optionalIntentArguments',
179
+ 'dontStopAppOnReset'
180
+ ]
181
+ }
182
+ }
183
+ },
184
+ '/session/:sessionId/appium/device/system_bars': { GET: { command: 'getSystemBars' } },
185
+ '/session/:sessionId/appium/device/display_density': { GET: { command: 'getDisplayDensity' } },
186
+ '/session/:sessionId/appium/app/launch': { POST: { command: 'launchApp' } },
187
+ '/session/:sessionId/appium/app/close': { POST: { command: 'closeApp' } },
188
+ '/session/:sessionId/appium/app/reset': { POST: { command: 'reset' } },
189
+ '/session/:sessionId/appium/app/background': {
190
+ POST: {
191
+ command: 'background',
192
+ payloadParams: { required: ['seconds'] }
193
+ }
194
+ },
195
+ '/session/:sessionId/appium/app/end_test_coverage': {
196
+ POST: {
197
+ command: 'endCoverage',
198
+ payloadParams: { required: ['intent', 'path'] }
199
+ }
200
+ },
201
+ '/session/:sessionId/appium/app/strings': {
202
+ POST: {
203
+ command: 'getStrings',
204
+ payloadParams: { optional: ['language', 'stringFile'] }
205
+ }
206
+ },
207
+ '/session/:sessionId/appium/element/:elementId/value': {
208
+ POST: {
209
+ command: 'setValueImmediate',
210
+ payloadParams: { required: ['text'] }
211
+ }
212
+ },
213
+ '/session/:sessionId/appium/element/:elementId/replace_value': {
214
+ POST: {
215
+ command: 'replaceValue',
216
+ payloadParams: { required: ['text'] }
217
+ }
218
+ }
219
+ });
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "mobile",
10
10
  "mobile testing"
11
11
  ],
12
- "version": "5.8.5",
12
+ "version": "5.8.7",
13
13
  "author": "Appium Contributors",
14
14
  "license": "Apache-2.0",
15
15
  "repository": {