devtools-protocol 0.0.1674729 → 0.0.1676914

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.
@@ -24400,6 +24400,57 @@
24400
24400
  }
24401
24401
  ]
24402
24402
  },
24403
+ {
24404
+ "name": "startScreenRecording",
24405
+ "description": "Starts screencast video recording.",
24406
+ "experimental": true,
24407
+ "parameters": [
24408
+ {
24409
+ "name": "audio",
24410
+ "optional": true,
24411
+ "type": "boolean"
24412
+ },
24413
+ {
24414
+ "name": "maxWidth",
24415
+ "description": "Maximum frame width in pixels.",
24416
+ "optional": true,
24417
+ "type": "integer"
24418
+ },
24419
+ {
24420
+ "name": "maxHeight",
24421
+ "description": "Maximum frame height in pixels.",
24422
+ "optional": true,
24423
+ "type": "integer"
24424
+ },
24425
+ {
24426
+ "name": "frameRate",
24427
+ "description": "Maximum frame rate in frames per second.",
24428
+ "optional": true,
24429
+ "type": "integer"
24430
+ }
24431
+ ],
24432
+ "returns": [
24433
+ {
24434
+ "name": "stream",
24435
+ "description": "A handle of the stream that holds resulting screencast data.",
24436
+ "experimental": true,
24437
+ "$ref": "IO.StreamHandle"
24438
+ }
24439
+ ]
24440
+ },
24441
+ {
24442
+ "name": "stopScreenRecording",
24443
+ "description": "Stops screencast video recording.",
24444
+ "experimental": true,
24445
+ "returns": [
24446
+ {
24447
+ "name": "stream",
24448
+ "description": "A handle of the stream that holds resulting screencast data.",
24449
+ "experimental": true,
24450
+ "$ref": "IO.StreamHandle"
24451
+ }
24452
+ ]
24453
+ },
24403
24454
  {
24404
24455
  "name": "stopLoading",
24405
24456
  "description": "Force the page stop all navigations and pending resource fetches."
@@ -30185,12 +30236,15 @@
30185
30236
  },
30186
30237
  {
30187
30238
  "id": "AuthenticatorTransport",
30239
+ "description": "LINT.IfChange(AuthenticatorTransport)",
30188
30240
  "type": "string",
30189
30241
  "enum": [
30190
30242
  "usb",
30191
30243
  "nfc",
30192
30244
  "ble",
30193
30245
  "cable",
30246
+ "hybrid",
30247
+ "smart-card",
30194
30248
  "internal"
30195
30249
  ]
30196
30250
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1674729",
3
+ "version": "0.0.1676914",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -158,7 +158,9 @@ domain Page
158
158
  run-ad-auction
159
159
  screen-wake-lock
160
160
  serial
161
+ # Deprecated.
161
162
  shared-storage
163
+ # Deprecated.
162
164
  shared-storage-select-url
163
165
  smart-card
164
166
  speaker-selection
@@ -1175,6 +1177,26 @@ domain Page
1175
1177
  # Send every n-th frame.
1176
1178
  optional integer everyNthFrame
1177
1179
 
1180
+ # Starts screencast video recording.
1181
+ experimental command startScreenRecording
1182
+ parameters
1183
+ optional boolean audio
1184
+ # Maximum frame width in pixels.
1185
+ optional integer maxWidth
1186
+ # Maximum frame height in pixels.
1187
+ optional integer maxHeight
1188
+ # Maximum frame rate in frames per second.
1189
+ optional integer frameRate
1190
+ returns
1191
+ # A handle of the stream that holds resulting screencast data.
1192
+ experimental IO.StreamHandle stream
1193
+
1194
+ # Stops screencast video recording.
1195
+ experimental command stopScreenRecording
1196
+ returns
1197
+ # A handle of the stream that holds resulting screencast data.
1198
+ experimental IO.StreamHandle stream
1199
+
1178
1200
  # Force the page stop all navigations and pending resource fetches.
1179
1201
  command stopLoading
1180
1202
 
@@ -22,6 +22,7 @@ experimental domain WebAuthn
22
22
  ctap2_1
23
23
  ctap2_2
24
24
 
25
+ # LINT.IfChange(AuthenticatorTransport)
25
26
  type AuthenticatorTransport extends string
26
27
  enum
27
28
  # Cross-Platform authenticator attachments:
@@ -29,8 +30,11 @@ experimental domain WebAuthn
29
30
  nfc
30
31
  ble
31
32
  cable
33
+ hybrid
34
+ smart-card
32
35
  # Platform authenticator attachment:
33
36
  internal
37
+ # LINT.ThenChange(//content/browser/devtools/protocol/webauthn_handler.cc:ConvertToFidoTransportProtocol)
34
38
 
35
39
  type VirtualAuthenticatorOptions extends object
36
40
  properties
@@ -5203,6 +5203,22 @@ export namespace ProtocolMapping {
5203
5203
  paramsType: [Protocol.Page.StartScreencastRequest?];
5204
5204
  returnType: void;
5205
5205
  };
5206
+ /**
5207
+ * Starts screencast video recording.
5208
+ * @experimental
5209
+ */
5210
+ 'Page.startScreenRecording': {
5211
+ paramsType: [Protocol.Page.StartScreenRecordingRequest?];
5212
+ returnType: Protocol.Page.StartScreenRecordingResponse;
5213
+ };
5214
+ /**
5215
+ * Stops screencast video recording.
5216
+ * @experimental
5217
+ */
5218
+ 'Page.stopScreenRecording': {
5219
+ paramsType: [];
5220
+ returnType: Protocol.Page.StopScreenRecordingResponse;
5221
+ };
5206
5222
  /**
5207
5223
  * Force the page stop all navigations and pending resource fetches.
5208
5224
  */
@@ -4057,6 +4057,18 @@ export namespace ProtocolProxyApi {
4057
4057
  */
4058
4058
  startScreencast(params: Protocol.Page.StartScreencastRequest): Promise<void>;
4059
4059
 
4060
+ /**
4061
+ * Starts screencast video recording.
4062
+ * @experimental
4063
+ */
4064
+ startScreenRecording(params: Protocol.Page.StartScreenRecordingRequest): Promise<Protocol.Page.StartScreenRecordingResponse>;
4065
+
4066
+ /**
4067
+ * Stops screencast video recording.
4068
+ * @experimental
4069
+ */
4070
+ stopScreenRecording(): Promise<Protocol.Page.StopScreenRecordingResponse>;
4071
+
4060
4072
  /**
4061
4073
  * Force the page stop all navigations and pending resource fetches.
4062
4074
  */
@@ -4331,6 +4331,18 @@ export namespace ProtocolTestsProxyApi {
4331
4331
  */
4332
4332
  startScreencast(params: Protocol.Page.StartScreencastRequest): Promise<{id: number, result: void, sessionId: string}>;
4333
4333
 
4334
+ /**
4335
+ * Starts screencast video recording.
4336
+ * @experimental
4337
+ */
4338
+ startScreenRecording(params: Protocol.Page.StartScreenRecordingRequest): Promise<{id: number, result: Protocol.Page.StartScreenRecordingResponse, sessionId: string}>;
4339
+
4340
+ /**
4341
+ * Stops screencast video recording.
4342
+ * @experimental
4343
+ */
4344
+ stopScreenRecording(): Promise<{id: number, result: Protocol.Page.StopScreenRecordingResponse, sessionId: string}>;
4345
+
4334
4346
  /**
4335
4347
  * Force the page stop all navigations and pending resource fetches.
4336
4348
  */
@@ -18166,6 +18166,38 @@ export namespace Protocol {
18166
18166
  everyNthFrame?: integer;
18167
18167
  }
18168
18168
 
18169
+ export interface StartScreenRecordingRequest {
18170
+ audio?: boolean;
18171
+ /**
18172
+ * Maximum frame width in pixels.
18173
+ */
18174
+ maxWidth?: integer;
18175
+ /**
18176
+ * Maximum frame height in pixels.
18177
+ */
18178
+ maxHeight?: integer;
18179
+ /**
18180
+ * Maximum frame rate in frames per second.
18181
+ */
18182
+ frameRate?: integer;
18183
+ }
18184
+
18185
+ export interface StartScreenRecordingResponse {
18186
+ /**
18187
+ * A handle of the stream that holds resulting screencast data.
18188
+ * @experimental
18189
+ */
18190
+ stream: IO.StreamHandle;
18191
+ }
18192
+
18193
+ export interface StopScreenRecordingResponse {
18194
+ /**
18195
+ * A handle of the stream that holds resulting screencast data.
18196
+ * @experimental
18197
+ */
18198
+ stream: IO.StreamHandle;
18199
+ }
18200
+
18169
18201
  export const enum SetWebLifecycleStateRequestState {
18170
18202
  Frozen = 'frozen',
18171
18203
  Active = 'active',
@@ -21754,7 +21786,7 @@ export namespace Protocol {
21754
21786
 
21755
21787
  export type Ctap2Version = ('ctap2_0' | 'ctap2_1' | 'ctap2_2');
21756
21788
 
21757
- export type AuthenticatorTransport = ('usb' | 'nfc' | 'ble' | 'cable' | 'internal');
21789
+ export type AuthenticatorTransport = ('usb' | 'nfc' | 'ble' | 'cable' | 'hybrid' | 'smart-card' | 'internal');
21758
21790
 
21759
21791
  export interface VirtualAuthenticatorOptions {
21760
21792
  protocol: AuthenticatorProtocol;