@wdio/protocols 8.20.4 → 8.23.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.
@@ -1 +1 @@
1
- {"version":3,"file":"webdriverBidi.d.ts","sourceRoot":"","sources":["../../src/protocols/webdriverBidi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,wBAgaC"}
1
+ {"version":3,"file":"webdriverBidi.d.ts","sourceRoot":"","sources":["../../src/protocols/webdriverBidi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAolBJ,CAAA;AACV,eAAe,QAAQ,CAAA"}
@@ -12,7 +12,7 @@
12
12
  * from the project root. You can find the scripts that generates this file in
13
13
  * ./scripts/bidi/**
14
14
  */
15
- export default {
15
+ const protocol = {
16
16
  "sendCommand": {
17
17
  "socket": {
18
18
  "command": "send",
@@ -62,7 +62,7 @@ export default {
62
62
  {
63
63
  "name": "params",
64
64
  "type": "`remote.EmptyParams`",
65
- "description": "<pre>{}</pre>",
65
+ "description": "<pre>\\{\\}</pre>",
66
66
  "required": true
67
67
  }
68
68
  ],
@@ -82,7 +82,7 @@ export default {
82
82
  {
83
83
  "name": "params",
84
84
  "type": "`remote.SessionNewParameters`",
85
- "description": "<pre>{<br /> capabilities: SessionCapabilitiesRequest;<br />}</pre>",
85
+ "description": "<pre>\\{<br /> capabilities: SessionCapabilitiesRequest;<br />\\}</pre>",
86
86
  "required": true
87
87
  }
88
88
  ],
@@ -102,7 +102,7 @@ export default {
102
102
  {
103
103
  "name": "params",
104
104
  "type": "`remote.EmptyParams`",
105
- "description": "<pre>{}</pre>",
105
+ "description": "<pre>\\{\\}</pre>",
106
106
  "required": true
107
107
  }
108
108
  ]
@@ -117,7 +117,7 @@ export default {
117
117
  {
118
118
  "name": "params",
119
119
  "type": "`remote.SessionSubscriptionRequest`",
120
- "description": "<pre>{<br /> events: string[];<br /> contexts?: BrowsingContextBrowsingContext[];<br />}</pre>",
120
+ "description": "<pre>\\{<br /> events: string[];<br /> contexts?: BrowsingContextBrowsingContext[];<br />\\}</pre>",
121
121
  "required": true
122
122
  }
123
123
  ]
@@ -132,7 +132,7 @@ export default {
132
132
  {
133
133
  "name": "params",
134
134
  "type": "`remote.SessionSubscriptionRequest`",
135
- "description": "<pre>{<br /> events: string[];<br /> contexts?: BrowsingContextBrowsingContext[];<br />}</pre>",
135
+ "description": "<pre>\\{<br /> events: string[];<br /> contexts?: BrowsingContextBrowsingContext[];<br />\\}</pre>",
136
136
  "required": true
137
137
  }
138
138
  ]
@@ -147,7 +147,22 @@ export default {
147
147
  {
148
148
  "name": "params",
149
149
  "type": "`remote.EmptyParams`",
150
- "description": "<pre>{}</pre>",
150
+ "description": "<pre>\\{\\}</pre>",
151
+ "required": true
152
+ }
153
+ ]
154
+ }
155
+ },
156
+ "browsingContext.activate": {
157
+ "socket": {
158
+ "command": "browsingContextActivate",
159
+ "description": "WebDriver Bidi command to send command method \"browsingContext.activate\" with parameters.",
160
+ "ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-activate",
161
+ "parameters": [
162
+ {
163
+ "name": "params",
164
+ "type": "`remote.BrowsingContextActivateParameters`",
165
+ "description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br />\\}</pre>",
151
166
  "required": true
152
167
  }
153
168
  ]
@@ -162,7 +177,7 @@ export default {
162
177
  {
163
178
  "name": "params",
164
179
  "type": "`remote.BrowsingContextCaptureScreenshotParameters`",
165
- "description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br />}</pre>",
180
+ "description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> /\\*\\*<br /> \\* @default 'viewport'<br /> \\*/<br /> origin?: \"viewport\" &#124; \"document\";<br /> format?: BrowsingContextImageFormat;<br /> clip?: BrowsingContextClipRectangle;<br />\\}</pre>",
166
181
  "required": true
167
182
  }
168
183
  ],
@@ -182,7 +197,7 @@ export default {
182
197
  {
183
198
  "name": "params",
184
199
  "type": "`remote.BrowsingContextCloseParameters`",
185
- "description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br />}</pre>",
200
+ "description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> promptUnload?: boolean;<br />\\}</pre>",
186
201
  "required": true
187
202
  }
188
203
  ]
@@ -197,7 +212,7 @@ export default {
197
212
  {
198
213
  "name": "params",
199
214
  "type": "`remote.BrowsingContextCreateParameters`",
200
- "description": "<pre>{<br /> type: BrowsingContextCreateType;<br /> referenceContext?: BrowsingContextBrowsingContext;<br />}</pre>",
215
+ "description": "<pre>\\{<br /> type: BrowsingContextCreateType;<br /> referenceContext?: BrowsingContextBrowsingContext;<br /> background?: boolean;<br />\\}</pre>",
201
216
  "required": true
202
217
  }
203
218
  ],
@@ -217,7 +232,7 @@ export default {
217
232
  {
218
233
  "name": "params",
219
234
  "type": "`remote.BrowsingContextGetTreeParameters`",
220
- "description": "<pre>{<br /> maxDepth?: JsUint;<br /> root?: BrowsingContextBrowsingContext;<br />}</pre>",
235
+ "description": "<pre>\\{<br /> maxDepth?: JsUint;<br /> root?: BrowsingContextBrowsingContext;<br />\\}</pre>",
221
236
  "required": true
222
237
  }
223
238
  ],
@@ -237,12 +252,32 @@ export default {
237
252
  {
238
253
  "name": "params",
239
254
  "type": "`remote.BrowsingContextHandleUserPromptParameters`",
240
- "description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br /> accept?: boolean;<br /> userText?: string;<br />}</pre>",
255
+ "description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> accept?: boolean;<br /> userText?: string;<br />\\}</pre>",
241
256
  "required": true
242
257
  }
243
258
  ]
244
259
  }
245
260
  },
261
+ "browsingContext.locateNodes": {
262
+ "socket": {
263
+ "command": "browsingContextLocateNodes",
264
+ "description": "WebDriver Bidi command to send command method \"browsingContext.locateNodes\" with parameters.",
265
+ "ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-locateNodes",
266
+ "parameters": [
267
+ {
268
+ "name": "params",
269
+ "type": "`remote.BrowsingContextLocateNodesParameters`",
270
+ "description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> locator: BrowsingContextLocator;<br /> maxNodeCount?: JsUint;<br /> ownership?: ScriptResultOwnership;<br /> sandbox?: string;<br /> serializationOptions?: ScriptSerializationOptions;<br /> startNodes?: ScriptSharedReference[];<br />\\}</pre>",
271
+ "required": true
272
+ }
273
+ ],
274
+ "returns": {
275
+ "type": "Object",
276
+ "name": "local.BrowsingContextLocateNodesResult",
277
+ "description": "Command return value with the following interface:\n ```ts\n {\n nodes: ScriptNodeRemoteValue[];\n }\n ```"
278
+ }
279
+ }
280
+ },
246
281
  "browsingContext.navigate": {
247
282
  "socket": {
248
283
  "command": "browsingContextNavigate",
@@ -252,7 +287,7 @@ export default {
252
287
  {
253
288
  "name": "params",
254
289
  "type": "`remote.BrowsingContextNavigateParameters`",
255
- "description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br /> url: string;<br /> wait?: BrowsingContextReadinessState;<br />}</pre>",
290
+ "description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> url: string;<br /> wait?: BrowsingContextReadinessState;<br />\\}</pre>",
256
291
  "required": true
257
292
  }
258
293
  ],
@@ -272,7 +307,7 @@ export default {
272
307
  {
273
308
  "name": "params",
274
309
  "type": "`remote.BrowsingContextPrintParameters`",
275
- "description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br /> background?: boolean;<br /> margin?: BrowsingContextPrintMarginParameters;<br /> /\\*\\*<br /> \\* @default 'portrait'<br /> \\*/<br /> orientation?: \"portrait\" &#124; \"landscape\";<br /> page?: BrowsingContextPrintPageParameters;<br /> pageRanges?: (JsUint &#124; string)[];<br /> /\\*\\*<br /> \\* @default 1<br /> \\*/<br /> scale?: number;<br /> /\\*\\*<br /> \\* @default true<br /> \\*/<br /> shrinkToFit?: boolean;<br />}</pre>",
310
+ "description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> background?: boolean;<br /> margin?: BrowsingContextPrintMarginParameters;<br /> /\\*\\*<br /> \\* @default 'portrait'<br /> \\*/<br /> orientation?: \"portrait\" &#124; \"landscape\";<br /> page?: BrowsingContextPrintPageParameters;<br /> pageRanges?: (JsUint &#124; string)[];<br /> /\\*\\*<br /> \\* @default 1<br /> \\*/<br /> scale?: number;<br /> /\\*\\*<br /> \\* @default true<br /> \\*/<br /> shrinkToFit?: boolean;<br />\\}</pre>",
276
311
  "required": true
277
312
  }
278
313
  ],
@@ -292,7 +327,147 @@ export default {
292
327
  {
293
328
  "name": "params",
294
329
  "type": "`remote.BrowsingContextReloadParameters`",
295
- "description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br /> ignoreCache?: boolean;<br /> wait?: BrowsingContextReadinessState;<br />}</pre>",
330
+ "description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> ignoreCache?: boolean;<br /> wait?: BrowsingContextReadinessState;<br />\\}</pre>",
331
+ "required": true
332
+ }
333
+ ]
334
+ }
335
+ },
336
+ "browsingContext.setViewport": {
337
+ "socket": {
338
+ "command": "browsingContextSetViewport",
339
+ "description": "WebDriver Bidi command to send command method \"browsingContext.setViewport\" with parameters.",
340
+ "ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-setViewport",
341
+ "parameters": [
342
+ {
343
+ "name": "params",
344
+ "type": "`remote.BrowsingContextSetViewportParameters`",
345
+ "description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> viewport?: BrowsingContextViewport &#124; null;<br /> devicePixelRatio?: number &#124; null;<br />\\}</pre>",
346
+ "required": true
347
+ }
348
+ ]
349
+ }
350
+ },
351
+ "browsingContext.traverseHistory": {
352
+ "socket": {
353
+ "command": "browsingContextTraverseHistory",
354
+ "description": "WebDriver Bidi command to send command method \"browsingContext.traverseHistory\" with parameters.",
355
+ "ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-traverseHistory",
356
+ "parameters": [
357
+ {
358
+ "name": "params",
359
+ "type": "`remote.BrowsingContextTraverseHistoryParameters`",
360
+ "description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> delta: JsInt;<br />\\}</pre>",
361
+ "required": true
362
+ }
363
+ ]
364
+ }
365
+ },
366
+ "network.addIntercept": {
367
+ "socket": {
368
+ "command": "networkAddIntercept",
369
+ "description": "WebDriver Bidi command to send command method \"network.addIntercept\" with parameters.",
370
+ "ref": "https://w3c.github.io/webdriver-bidi/#command-network-addIntercept",
371
+ "parameters": [
372
+ {
373
+ "name": "params",
374
+ "type": "`remote.NetworkAddInterceptParameters`",
375
+ "description": "<pre>\\{<br /> phases: NetworkInterceptPhase[];<br /> urlPatterns?: NetworkUrlPattern[];<br />\\}</pre>",
376
+ "required": true
377
+ }
378
+ ],
379
+ "returns": {
380
+ "type": "Object",
381
+ "name": "local.NetworkAddInterceptResult",
382
+ "description": "Command return value with the following interface:\n ```ts\n {\n intercept: NetworkIntercept;\n }\n ```"
383
+ }
384
+ }
385
+ },
386
+ "network.continueRequest": {
387
+ "socket": {
388
+ "command": "networkContinueRequest",
389
+ "description": "WebDriver Bidi command to send command method \"network.continueRequest\" with parameters.",
390
+ "ref": "https://w3c.github.io/webdriver-bidi/#command-network-continueRequest",
391
+ "parameters": [
392
+ {
393
+ "name": "params",
394
+ "type": "`remote.NetworkContinueRequestParameters`",
395
+ "description": "<pre>\\{<br /> request: NetworkRequest;<br /> body?: NetworkBytesValue;<br /> cookies?: NetworkCookieHeader[];<br /> headers?: NetworkHeader[];<br /> method?: string;<br /> url?: string;<br />\\}</pre>",
396
+ "required": true
397
+ }
398
+ ]
399
+ }
400
+ },
401
+ "network.continueResponse": {
402
+ "socket": {
403
+ "command": "networkContinueResponse",
404
+ "description": "WebDriver Bidi command to send command method \"network.continueResponse\" with parameters.",
405
+ "ref": "https://w3c.github.io/webdriver-bidi/#command-network-continueResponse",
406
+ "parameters": [
407
+ {
408
+ "name": "params",
409
+ "type": "`remote.NetworkContinueResponseParameters`",
410
+ "description": "<pre>\\{<br /> request: NetworkRequest;<br /> cookies?: NetworkSetCookieHeader[];<br /> credentials?: NetworkAuthCredentials;<br /> headers?: NetworkHeader[];<br /> reasonPhrase?: string;<br /> statusCode?: JsUint;<br />\\}</pre>",
411
+ "required": true
412
+ }
413
+ ]
414
+ }
415
+ },
416
+ "network.continueWithAuth": {
417
+ "socket": {
418
+ "command": "networkContinueWithAuth",
419
+ "description": "WebDriver Bidi command to send command method \"network.continueWithAuth\" with parameters.",
420
+ "ref": "https://w3c.github.io/webdriver-bidi/#command-network-continueWithAuth",
421
+ "parameters": [
422
+ {
423
+ "name": "params",
424
+ "type": "`remote.NetworkContinueWithAuthParameters`",
425
+ "description": "<pre>\\{<br /> request: NetworkRequest;<br />\\}</pre>",
426
+ "required": true
427
+ }
428
+ ]
429
+ }
430
+ },
431
+ "network.failRequest": {
432
+ "socket": {
433
+ "command": "networkFailRequest",
434
+ "description": "WebDriver Bidi command to send command method \"network.failRequest\" with parameters.",
435
+ "ref": "https://w3c.github.io/webdriver-bidi/#command-network-failRequest",
436
+ "parameters": [
437
+ {
438
+ "name": "params",
439
+ "type": "`remote.NetworkFailRequestParameters`",
440
+ "description": "<pre>\\{<br /> request: NetworkRequest;<br />\\}</pre>",
441
+ "required": true
442
+ }
443
+ ]
444
+ }
445
+ },
446
+ "network.provideResponse": {
447
+ "socket": {
448
+ "command": "networkProvideResponse",
449
+ "description": "WebDriver Bidi command to send command method \"network.provideResponse\" with parameters.",
450
+ "ref": "https://w3c.github.io/webdriver-bidi/#command-network-provideResponse",
451
+ "parameters": [
452
+ {
453
+ "name": "params",
454
+ "type": "`remote.NetworkProvideResponseParameters`",
455
+ "description": "<pre>\\{<br /> request: NetworkRequest;<br /> body?: NetworkBytesValue;<br /> cookies?: NetworkSetCookieHeader[];<br /> headers?: NetworkHeader[];<br /> reasonPhrase?: string;<br /> statusCode?: JsUint;<br />\\}</pre>",
456
+ "required": true
457
+ }
458
+ ]
459
+ }
460
+ },
461
+ "network.removeIntercept": {
462
+ "socket": {
463
+ "command": "networkRemoveIntercept",
464
+ "description": "WebDriver Bidi command to send command method \"network.removeIntercept\" with parameters.",
465
+ "ref": "https://w3c.github.io/webdriver-bidi/#command-network-removeIntercept",
466
+ "parameters": [
467
+ {
468
+ "name": "params",
469
+ "type": "`remote.NetworkRemoveInterceptParameters`",
470
+ "description": "<pre>\\{<br /> intercept: NetworkIntercept;<br />\\}</pre>",
296
471
  "required": true
297
472
  }
298
473
  ]
@@ -300,17 +475,22 @@ export default {
300
475
  },
301
476
  "script.addPreloadScript": {
302
477
  "socket": {
303
- "command": "scriptAddPreloadScriptCommand",
478
+ "command": "scriptAddPreloadScript",
304
479
  "description": "WebDriver Bidi command to send command method \"script.addPreloadScript\" with parameters.",
305
480
  "ref": "https://w3c.github.io/webdriver-bidi/#command-script-addPreloadScript",
306
481
  "parameters": [
307
482
  {
308
483
  "name": "params",
309
- "type": "object",
310
- "description": "<pre>{<br /> functionDeclaration: string;<br /> arguments?: ScriptChannelValue[];<br /> sandbox?: string;<br />}</pre>",
484
+ "type": "`remote.ScriptAddPreloadScriptParameters`",
485
+ "description": "<pre>\\{<br /> functionDeclaration: string;<br /> arguments?: ScriptChannelValue[];<br /> contexts?: BrowsingContextBrowsingContext[];<br /> sandbox?: string;<br />\\}</pre>",
311
486
  "required": true
312
487
  }
313
- ]
488
+ ],
489
+ "returns": {
490
+ "type": "Object",
491
+ "name": "local.ScriptAddPreloadScriptResult",
492
+ "description": "Command return value with the following interface:\n ```ts\n {\n script: ScriptPreloadScript;\n }\n ```"
493
+ }
314
494
  }
315
495
  },
316
496
  "script.disown": {
@@ -322,7 +502,7 @@ export default {
322
502
  {
323
503
  "name": "params",
324
504
  "type": "`remote.ScriptDisownParameters`",
325
- "description": "<pre>{<br /> handles: ScriptHandle[];<br /> target: ScriptTarget;<br />}</pre>",
505
+ "description": "<pre>\\{<br /> handles: ScriptHandle[];<br /> target: ScriptTarget;<br />\\}</pre>",
326
506
  "required": true
327
507
  }
328
508
  ]
@@ -337,7 +517,7 @@ export default {
337
517
  {
338
518
  "name": "params",
339
519
  "type": "`remote.ScriptCallFunctionParameters`",
340
- "description": "<pre>{<br /> functionDeclaration: string;<br /> awaitPromise: boolean;<br /> target: ScriptTarget;<br /> arguments?: ScriptArgumentValue[];<br /> resultOwnership?: ScriptResultOwnership;<br /> serializationOptions?: ScriptSerializationOptions;<br /> this?: ScriptArgumentValue;<br />}</pre>",
520
+ "description": "<pre>\\{<br /> functionDeclaration: string;<br /> awaitPromise: boolean;<br /> target: ScriptTarget;<br /> arguments?: ScriptLocalValue[];<br /> resultOwnership?: ScriptResultOwnership;<br /> serializationOptions?: ScriptSerializationOptions;<br /> this?: ScriptLocalValue;<br /> userActivation?: boolean;<br />\\}</pre>",
341
521
  "required": true
342
522
  }
343
523
  ]
@@ -352,7 +532,7 @@ export default {
352
532
  {
353
533
  "name": "params",
354
534
  "type": "`remote.ScriptEvaluateParameters`",
355
- "description": "<pre>{<br /> expression: string;<br /> target: ScriptTarget;<br /> awaitPromise: boolean;<br /> resultOwnership?: ScriptResultOwnership;<br /> serializationOptions?: ScriptSerializationOptions;<br />}</pre>",
535
+ "description": "<pre>\\{<br /> expression: string;<br /> target: ScriptTarget;<br /> awaitPromise: boolean;<br /> resultOwnership?: ScriptResultOwnership;<br /> serializationOptions?: ScriptSerializationOptions;<br /> userActivation?: boolean;<br />\\}</pre>",
356
536
  "required": true
357
537
  }
358
538
  ],
@@ -372,7 +552,7 @@ export default {
372
552
  {
373
553
  "name": "params",
374
554
  "type": "`remote.ScriptGetRealmsParameters`",
375
- "description": "<pre>{<br /> context?: BrowsingContextBrowsingContext;<br /> type?: ScriptRealmType;<br />}</pre>",
555
+ "description": "<pre>\\{<br /> context?: BrowsingContextBrowsingContext;<br /> type?: ScriptRealmType;<br />\\}</pre>",
376
556
  "required": true
377
557
  }
378
558
  ],
@@ -385,14 +565,14 @@ export default {
385
565
  },
386
566
  "script.removePreloadScript": {
387
567
  "socket": {
388
- "command": "scriptRemovePreloadScriptCommand",
568
+ "command": "scriptRemovePreloadScript",
389
569
  "description": "WebDriver Bidi command to send command method \"script.removePreloadScript\" with parameters.",
390
570
  "ref": "https://w3c.github.io/webdriver-bidi/#command-script-removePreloadScript",
391
571
  "parameters": [
392
572
  {
393
573
  "name": "params",
394
574
  "type": "`remote.ScriptRemovePreloadScriptParameters`",
395
- "description": "<pre>{<br /> script: ScriptPreloadScript;<br />}</pre>",
575
+ "description": "<pre>\\{<br /> script: ScriptPreloadScript;<br />\\}</pre>",
396
576
  "required": true
397
577
  }
398
578
  ]
@@ -407,7 +587,7 @@ export default {
407
587
  {
408
588
  "name": "params",
409
589
  "type": "`remote.InputPerformActionsParameters`",
410
- "description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br /> actions: InputSourceActions[];<br />}</pre>",
590
+ "description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> actions: InputSourceActions[];<br />\\}</pre>",
411
591
  "required": true
412
592
  }
413
593
  ]
@@ -422,10 +602,11 @@ export default {
422
602
  {
423
603
  "name": "params",
424
604
  "type": "`remote.InputReleaseActionsParameters`",
425
- "description": "<pre>{<br /> context: BrowsingContextBrowsingContext;<br />}</pre>",
605
+ "description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br />\\}</pre>",
426
606
  "required": true
427
607
  }
428
608
  ]
429
609
  }
430
610
  }
431
611
  };
612
+ export default protocol;
package/build/types.d.ts CHANGED
@@ -179,9 +179,6 @@ export interface BidiRequest {
179
179
  */
180
180
  params: Record<string, any>;
181
181
  }
182
- export interface BidiResponse {
183
- id: number;
184
- }
185
182
  export type Context = string | DetailedContext;
186
183
  /**
187
184
  * Extended Context when running tests in Appium
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,uBAAuB;IACpC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAGD,MAAM,WAAW,aAAc,SAAQ,uBAAuB;CAAI;AAElE,MAAM,WAAW,YAAa,SAAQ,uBAAuB;IACzD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED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;IACH,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC9B;AAED,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,eAAe,CAAA;AAE9C;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;CACpB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/protocols",
3
- "version": "8.20.4",
3
+ "version": "8.23.0",
4
4
  "description": "Utility package providing information about automation protocols",
5
5
  "author": "Christian Bromann <mail@bromann.dev>",
6
6
  "homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-protocols",
@@ -27,5 +27,5 @@
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "gitHead": "271efa5112930e8242534ea84ac6f2f75d73df3b"
30
+ "gitHead": "b17ce5f554deb8588cc156ad9676bd4bd13defe7"
31
31
  }