@wdio/protocols 9.27.1 → 9.28.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/index.js CHANGED
@@ -1799,7 +1799,7 @@ var protocol = {
1799
1799
  {
1800
1800
  "name": "params",
1801
1801
  "type": "`remote.BrowserSetClientWindowStateParameters`",
1802
- "description": "<pre>\\{<br /> clientWindow: BrowserClientWindow;<br />}\\}</pre>",
1802
+ "description": "<pre>\\{<br /> clientWindow: BrowserClientWindow;<br />\\};</pre>",
1803
1803
  "required": true
1804
1804
  }
1805
1805
  ],
@@ -2070,6 +2070,46 @@ var protocol = {
2070
2070
  }
2071
2071
  }
2072
2072
  },
2073
+ "browsingContext.startScreencast": {
2074
+ "socket": {
2075
+ "command": "browsingContextStartScreencast",
2076
+ "description": 'WebDriver Bidi command to send command method "browsingContext.startScreencast" with parameters.',
2077
+ "ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-startScreencast",
2078
+ "parameters": [
2079
+ {
2080
+ "name": "params",
2081
+ "type": "`remote.BrowsingContextStartScreencastParameters`",
2082
+ "description": "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> mimeType?: string;<br /> streamOptions?: BrowsingContextMediaStreamOptions;<br />\\}</pre>",
2083
+ "required": true
2084
+ }
2085
+ ],
2086
+ "returns": {
2087
+ "type": "Object",
2088
+ "name": "local.BrowsingContextStartScreencastResult",
2089
+ "description": "Command return value with the following interface:\n ```ts\n {\n screencast: BrowsingContextScreencast;\n path: string;\n }\n ```"
2090
+ }
2091
+ }
2092
+ },
2093
+ "browsingContext.stopScreencast": {
2094
+ "socket": {
2095
+ "command": "browsingContextStopScreencast",
2096
+ "description": 'WebDriver Bidi command to send command method "browsingContext.stopScreencast" with parameters.',
2097
+ "ref": "https://w3c.github.io/webdriver-bidi/#command-browsingContext-stopScreencast",
2098
+ "parameters": [
2099
+ {
2100
+ "name": "params",
2101
+ "type": "`remote.BrowsingContextStopScreencastParameters`",
2102
+ "description": "<pre>\\{<br /> screencast: BrowsingContextScreencast;<br />\\}</pre>",
2103
+ "required": true
2104
+ }
2105
+ ],
2106
+ "returns": {
2107
+ "type": "Object",
2108
+ "name": "local.BrowsingContextStopScreencastResult",
2109
+ "description": "Command return value with the following interface:\n ```ts\n {\n path: string;\n error?: string;\n }\n ```"
2110
+ }
2111
+ }
2112
+ },
2073
2113
  "browsingContext.traverseHistory": {
2074
2114
  "socket": {
2075
2115
  "command": "browsingContextTraverseHistory",
@@ -2119,7 +2159,7 @@ var protocol = {
2119
2159
  {
2120
2160
  "name": "params",
2121
2161
  "type": "`remote.EmulationSetGeolocationOverrideParameters`",
2122
- "description": "<pre>\\{<br /> coordinates: EmulationGeolocationCoordinates &#124; null;<br />} &#124; {<br /> error: EmulationGeolocationPositionError;<br />}) & {<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />}\\}</pre>",
2162
+ "description": "<pre>\\{<br /> coordinates: EmulationGeolocationCoordinates &#124; null;<br />\\} &#124; \\{<br /> error: EmulationGeolocationPositionError;<br />\\}) & \\{<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />\\};</pre>",
2123
2163
  "required": true
2124
2164
  }
2125
2165
  ],
@@ -2399,7 +2439,7 @@ var protocol = {
2399
2439
  {
2400
2440
  "name": "params",
2401
2441
  "type": "`remote.NetworkContinueWithAuthParameters`",
2402
- "description": "<pre>\\{<br /> request: NetworkRequest;<br />}\\}</pre>",
2442
+ "description": "<pre>\\{<br /> request: NetworkRequest;<br />\\};</pre>",
2403
2443
  "required": true
2404
2444
  }
2405
2445
  ],
@@ -237,7 +237,7 @@ declare const protocol: {
237
237
  readonly parameters: readonly [{
238
238
  readonly name: "params";
239
239
  readonly type: "`remote.BrowserSetClientWindowStateParameters`";
240
- readonly description: "<pre>\\{<br /> clientWindow: BrowserClientWindow;<br />}\\}</pre>";
240
+ readonly description: "<pre>\\{<br /> clientWindow: BrowserClientWindow;<br />\\};</pre>";
241
241
  readonly required: true;
242
242
  }];
243
243
  readonly returns: {
@@ -481,6 +481,42 @@ declare const protocol: {
481
481
  };
482
482
  };
483
483
  };
484
+ readonly "browsingContext.startScreencast": {
485
+ readonly socket: {
486
+ readonly command: "browsingContextStartScreencast";
487
+ readonly description: "WebDriver Bidi command to send command method \"browsingContext.startScreencast\" with parameters.";
488
+ readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browsingContext-startScreencast";
489
+ readonly parameters: readonly [{
490
+ readonly name: "params";
491
+ readonly type: "`remote.BrowsingContextStartScreencastParameters`";
492
+ readonly description: "<pre>\\{<br /> context: BrowsingContextBrowsingContext;<br /> mimeType?: string;<br /> streamOptions?: BrowsingContextMediaStreamOptions;<br />\\}</pre>";
493
+ readonly required: true;
494
+ }];
495
+ readonly returns: {
496
+ readonly type: "Object";
497
+ readonly name: "local.BrowsingContextStartScreencastResult";
498
+ readonly description: "Command return value with the following interface:\n ```ts\n {\n screencast: BrowsingContextScreencast;\n path: string;\n }\n ```";
499
+ };
500
+ };
501
+ };
502
+ readonly "browsingContext.stopScreencast": {
503
+ readonly socket: {
504
+ readonly command: "browsingContextStopScreencast";
505
+ readonly description: "WebDriver Bidi command to send command method \"browsingContext.stopScreencast\" with parameters.";
506
+ readonly ref: "https://w3c.github.io/webdriver-bidi/#command-browsingContext-stopScreencast";
507
+ readonly parameters: readonly [{
508
+ readonly name: "params";
509
+ readonly type: "`remote.BrowsingContextStopScreencastParameters`";
510
+ readonly description: "<pre>\\{<br /> screencast: BrowsingContextScreencast;<br />\\}</pre>";
511
+ readonly required: true;
512
+ }];
513
+ readonly returns: {
514
+ readonly type: "Object";
515
+ readonly name: "local.BrowsingContextStopScreencastResult";
516
+ readonly description: "Command return value with the following interface:\n ```ts\n {\n path: string;\n error?: string;\n }\n ```";
517
+ };
518
+ };
519
+ };
484
520
  readonly "browsingContext.traverseHistory": {
485
521
  readonly socket: {
486
522
  readonly command: "browsingContextTraverseHistory";
@@ -525,7 +561,7 @@ declare const protocol: {
525
561
  readonly parameters: readonly [{
526
562
  readonly name: "params";
527
563
  readonly type: "`remote.EmulationSetGeolocationOverrideParameters`";
528
- readonly description: "<pre>\\{<br /> coordinates: EmulationGeolocationCoordinates &#124; null;<br />} &#124; {<br /> error: EmulationGeolocationPositionError;<br />}) & {<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />}\\}</pre>";
564
+ readonly description: "<pre>\\{<br /> coordinates: EmulationGeolocationCoordinates &#124; null;<br />\\} &#124; \\{<br /> error: EmulationGeolocationPositionError;<br />\\}) & \\{<br /> contexts?: BrowsingContextBrowsingContext[];<br /> userContexts?: BrowserUserContext[];<br />\\};</pre>";
529
565
  readonly required: true;
530
566
  }];
531
567
  readonly returns: {
@@ -777,7 +813,7 @@ declare const protocol: {
777
813
  readonly parameters: readonly [{
778
814
  readonly name: "params";
779
815
  readonly type: "`remote.NetworkContinueWithAuthParameters`";
780
- readonly description: "<pre>\\{<br /> request: NetworkRequest;<br />}\\}</pre>";
816
+ readonly description: "<pre>\\{<br /> request: NetworkRequest;<br />\\};</pre>";
781
817
  readonly required: true;
782
818
  }];
783
819
  readonly returns: {
@@ -1 +1 @@
1
- {"version":3,"file":"webdriverBidi.d.ts","sourceRoot":"","sources":["../../src/protocols/webdriverBidi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6zCJ,CAAA;AACV,eAAe,QAAQ,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/protocols",
3
- "version": "9.27.1",
3
+ "version": "9.28.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",
@@ -29,5 +29,5 @@
29
29
  "publishConfig": {
30
30
  "access": "public"
31
31
  },
32
- "gitHead": "e2b5652f61da0858251860e7d3bc0c0aaffbb525"
32
+ "gitHead": "66baa0049385cd9161677e1e6728fde90db56f35"
33
33
  }