@wdio/protocols 8.0.0 → 8.1.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.
Files changed (58) hide show
  1. package/build/commands/appium.d.ts +1 -1
  2. package/build/commands/appium.d.ts.map +1 -1
  3. package/build/commands/chromium.d.ts +1 -1
  4. package/build/commands/chromium.d.ts.map +1 -1
  5. package/build/commands/jsonwp.d.ts +1 -1
  6. package/build/commands/jsonwp.d.ts.map +1 -1
  7. package/build/commands/mjsonwp.d.ts +1 -1
  8. package/build/commands/mjsonwp.d.ts.map +1 -1
  9. package/build/commands/saucelabs.d.ts +1 -1
  10. package/build/commands/saucelabs.d.ts.map +1 -1
  11. package/build/commands/selenium.d.ts +1 -1
  12. package/build/commands/selenium.d.ts.map +1 -1
  13. package/build/commands/webdriver.d.ts +1 -1
  14. package/build/commands/webdriver.d.ts.map +1 -1
  15. package/build/commands/webdriverBidi.d.ts +1 -1
  16. package/build/commands/webdriverBidi.d.ts.map +1 -1
  17. package/build/index.d.ts +18 -19
  18. package/build/index.d.ts.map +1 -1
  19. package/build/index.js +9 -11
  20. package/build/protocols/appium.d.ts +1244 -0
  21. package/build/protocols/appium.d.ts.map +1 -0
  22. package/build/protocols/appium.js +1602 -0
  23. package/build/protocols/chromium.d.ts +384 -0
  24. package/build/protocols/chromium.d.ts.map +1 -0
  25. package/build/protocols/chromium.js +530 -0
  26. package/build/protocols/gecko.d.ts +76 -0
  27. package/build/protocols/gecko.d.ts.map +1 -0
  28. package/build/protocols/gecko.js +112 -0
  29. package/build/protocols/jsonwp.d.ts +1245 -0
  30. package/build/protocols/jsonwp.d.ts.map +1 -0
  31. package/build/protocols/jsonwp.js +1511 -0
  32. package/build/protocols/mjsonwp.d.ts +112 -0
  33. package/build/protocols/mjsonwp.d.ts.map +1 -0
  34. package/build/protocols/mjsonwp.js +126 -0
  35. package/build/protocols/saucelabs.d.ts +162 -0
  36. package/build/protocols/saucelabs.d.ts.map +1 -0
  37. package/build/protocols/saucelabs.js +297 -0
  38. package/build/protocols/selenium.d.ts +106 -0
  39. package/build/protocols/selenium.d.ts.map +1 -0
  40. package/build/protocols/selenium.js +132 -0
  41. package/build/protocols/webdriver.d.ts +1080 -0
  42. package/build/protocols/webdriver.d.ts.map +1 -0
  43. package/build/protocols/webdriver.js +1495 -0
  44. package/build/protocols/webdriverBidi.d.ts +35 -0
  45. package/build/protocols/webdriverBidi.d.ts.map +1 -0
  46. package/build/protocols/webdriverBidi.js +37 -0
  47. package/build/types.d.ts +8 -7
  48. package/build/types.d.ts.map +1 -1
  49. package/package.json +2 -2
  50. package/protocols/appium.json +0 -1469
  51. package/protocols/chromium.json +0 -494
  52. package/protocols/gecko.json +0 -105
  53. package/protocols/jsonwp.json +0 -1366
  54. package/protocols/mjsonwp.json +0 -114
  55. package/protocols/saucelabs.json +0 -276
  56. package/protocols/selenium.json +0 -122
  57. package/protocols/webdriver.json +0 -1331
  58. package/protocols/webdriverBidi.json +0 -33
@@ -0,0 +1,384 @@
1
+ declare const _default: {
2
+ '/session/:sessionId/alert': {
3
+ GET: {
4
+ command: string;
5
+ description: string;
6
+ ref: string;
7
+ examples: string[][];
8
+ parameters: never[];
9
+ returns: {
10
+ type: string;
11
+ name: string;
12
+ description: string;
13
+ };
14
+ };
15
+ };
16
+ '/session/:sessionId/autoreport': {
17
+ GET: {
18
+ command: string;
19
+ description: string;
20
+ ref: string;
21
+ parameters: never[];
22
+ returns: {
23
+ type: string;
24
+ name: string;
25
+ description: string;
26
+ };
27
+ };
28
+ POST: {
29
+ command: string;
30
+ description: string;
31
+ ref: string;
32
+ examples: string[][];
33
+ parameters: {
34
+ name: string;
35
+ type: string;
36
+ description: string;
37
+ required: boolean;
38
+ }[];
39
+ returns: {
40
+ type: string;
41
+ name: string;
42
+ description: string;
43
+ };
44
+ };
45
+ };
46
+ '/session/:sessionId/is_loading': {
47
+ GET: {
48
+ command: string;
49
+ description: string;
50
+ ref: string;
51
+ examples: string[][];
52
+ parameters: never[];
53
+ returns: {
54
+ type: string;
55
+ name: string;
56
+ description: string;
57
+ };
58
+ };
59
+ };
60
+ '/session/:sessionId/chromium/heap_snapshot': {
61
+ GET: {
62
+ command: string;
63
+ description: string;
64
+ ref: string;
65
+ parameters: never[];
66
+ returns: {
67
+ type: string;
68
+ name: string;
69
+ description: string;
70
+ };
71
+ };
72
+ };
73
+ '/session/:sessionId/network_connection': {
74
+ GET: {
75
+ command: string;
76
+ description: string;
77
+ ref: string;
78
+ examples: string[][];
79
+ parameters: never[];
80
+ returns: {
81
+ type: string;
82
+ name: string;
83
+ description: string;
84
+ };
85
+ };
86
+ POST: {
87
+ command: string;
88
+ description: string;
89
+ ref: string;
90
+ examples: string[][];
91
+ parameters: {
92
+ name: string;
93
+ type: string;
94
+ description: string;
95
+ required: boolean;
96
+ }[];
97
+ returns: {
98
+ type: string;
99
+ name: string;
100
+ description: string;
101
+ };
102
+ };
103
+ };
104
+ '/session/:sessionId/chromium/network_conditions': {
105
+ GET: {
106
+ command: string;
107
+ description: string;
108
+ ref: string;
109
+ parameters: never[];
110
+ returns: {
111
+ type: string;
112
+ name: string;
113
+ description: string;
114
+ };
115
+ };
116
+ POST: {
117
+ command: string;
118
+ description: string;
119
+ ref: string;
120
+ examples: string[][];
121
+ parameters: {
122
+ name: string;
123
+ type: string;
124
+ description: string;
125
+ required: boolean;
126
+ }[];
127
+ };
128
+ DELETE: {
129
+ command: string;
130
+ description: string;
131
+ ref: string;
132
+ parameters: never[];
133
+ };
134
+ };
135
+ '/session/:sessionId/chromium/send_command': {
136
+ POST: {
137
+ command: string;
138
+ description: string;
139
+ ref: string;
140
+ parameters: {
141
+ name: string;
142
+ type: string;
143
+ description: string;
144
+ required: boolean;
145
+ }[];
146
+ };
147
+ };
148
+ '/session/:sessionId/chromium/send_command_and_get_result': {
149
+ POST: {
150
+ command: string;
151
+ description: string;
152
+ ref: string;
153
+ parameters: {
154
+ name: string;
155
+ type: string;
156
+ description: string;
157
+ required: boolean;
158
+ }[];
159
+ returns: {
160
+ type: string;
161
+ name: string;
162
+ description: string;
163
+ };
164
+ };
165
+ };
166
+ '/session/:sessionId/file': {
167
+ POST: {
168
+ command: string;
169
+ description: string;
170
+ ref: string;
171
+ parameters: {
172
+ name: string;
173
+ type: string;
174
+ description: string;
175
+ required: boolean;
176
+ }[];
177
+ returns: {
178
+ type: string;
179
+ name: string;
180
+ description: string;
181
+ };
182
+ };
183
+ };
184
+ '/session/:sessionId/chromium/launch_app': {
185
+ POST: {
186
+ command: string;
187
+ description: string;
188
+ ref: string;
189
+ examples: string[][];
190
+ parameters: {
191
+ name: string;
192
+ type: string;
193
+ description: string;
194
+ required: boolean;
195
+ }[];
196
+ };
197
+ };
198
+ '/session/:sessionId/element/:elementId/value': {
199
+ GET: {
200
+ command: string;
201
+ description: string;
202
+ ref: string;
203
+ variables: {
204
+ name: string;
205
+ description: string;
206
+ }[];
207
+ parameters: never[];
208
+ returns: {
209
+ type: string;
210
+ name: string;
211
+ description: string;
212
+ };
213
+ };
214
+ };
215
+ '/session/:sessionId/element/:elementId/hover': {
216
+ POST: {
217
+ command: string;
218
+ description: string;
219
+ ref: string;
220
+ variables: {
221
+ name: string;
222
+ description: string;
223
+ }[];
224
+ parameters: never[];
225
+ };
226
+ };
227
+ '/session/:sessionId/touch/pinch': {
228
+ POST: {
229
+ command: string;
230
+ description: string;
231
+ ref: string;
232
+ parameters: {
233
+ name: string;
234
+ type: string;
235
+ description: string;
236
+ required: boolean;
237
+ }[];
238
+ };
239
+ };
240
+ '/session/:sessionId/goog/page/freeze': {
241
+ POST: {
242
+ command: string;
243
+ description: string;
244
+ ref: string;
245
+ parameters: never[];
246
+ };
247
+ };
248
+ '/session/:sessionId/goog/page/resume': {
249
+ POST: {
250
+ command: string;
251
+ description: string;
252
+ ref: string;
253
+ parameters: never[];
254
+ };
255
+ };
256
+ '/session/:sessionId/goog/cast/get_sinks': {
257
+ GET: {
258
+ command: string;
259
+ description: string;
260
+ ref: string;
261
+ parameters: never[];
262
+ returns: {
263
+ type: string;
264
+ name: string;
265
+ description: string;
266
+ };
267
+ };
268
+ };
269
+ '/session/:sessionId/goog/cast/set_sink_to_use': {
270
+ POST: {
271
+ command: string;
272
+ description: string;
273
+ ref: string;
274
+ parameters: {
275
+ name: string;
276
+ type: string;
277
+ description: string;
278
+ required: boolean;
279
+ }[];
280
+ };
281
+ };
282
+ '/session/:sessionId/goog/cast/start_tab_mirroring': {
283
+ POST: {
284
+ command: string;
285
+ description: string;
286
+ ref: string;
287
+ parameters: {
288
+ name: string;
289
+ type: string;
290
+ description: string;
291
+ required: boolean;
292
+ }[];
293
+ };
294
+ };
295
+ '/session/:sessionId/goog/cast/get_issue_message': {
296
+ GET: {
297
+ command: string;
298
+ description: string;
299
+ ref: string;
300
+ parameters: never[];
301
+ returns: {
302
+ type: string;
303
+ name: string;
304
+ description: string;
305
+ };
306
+ };
307
+ };
308
+ '/session/:sessionId/goog/cast/stop_casting': {
309
+ POST: {
310
+ command: string;
311
+ description: string;
312
+ ref: string;
313
+ parameters: {
314
+ name: string;
315
+ type: string;
316
+ description: string;
317
+ required: boolean;
318
+ }[];
319
+ };
320
+ };
321
+ '/shutdown': {
322
+ POST: {
323
+ command: string;
324
+ description: string;
325
+ ref: string;
326
+ parameters: never[];
327
+ };
328
+ };
329
+ '/session/:sessionId/element/:elementId/screenshot': {
330
+ GET: {
331
+ command: string;
332
+ description: string;
333
+ ref: string;
334
+ variables: {
335
+ name: string;
336
+ description: string;
337
+ }[];
338
+ parameters: {
339
+ name: string;
340
+ type: string;
341
+ description: string;
342
+ required: boolean;
343
+ }[];
344
+ returns: {
345
+ type: string;
346
+ name: string;
347
+ description: string;
348
+ };
349
+ };
350
+ };
351
+ '/session/:sessionId/se/log/types': {
352
+ GET: {
353
+ command: string;
354
+ description: string;
355
+ ref: string;
356
+ parameters: never[];
357
+ returns: {
358
+ type: string;
359
+ name: string;
360
+ description: string;
361
+ };
362
+ };
363
+ };
364
+ '/session/:sessionId/se/log': {
365
+ POST: {
366
+ command: string;
367
+ description: string;
368
+ ref: string;
369
+ parameters: {
370
+ name: string;
371
+ type: string;
372
+ description: string;
373
+ required: boolean;
374
+ }[];
375
+ returns: {
376
+ type: string;
377
+ name: string;
378
+ description: string;
379
+ };
380
+ };
381
+ };
382
+ };
383
+ export default _default;
384
+ //# sourceMappingURL=chromium.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chromium.d.ts","sourceRoot":"","sources":["../../src/protocols/chromium.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA8jBC"}