devtools-protocol 0.0.1727723 → 0.0.1732152
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/json/browser_protocol.json +11 -0
- package/package.json +1 -1
- package/pdl/domains/Page.pdl +9 -0
- package/types/protocol.d.ts +10 -0
|
@@ -24878,6 +24878,17 @@
|
|
|
24878
24878
|
"description": "Maximum frame rate in frames per second.",
|
|
24879
24879
|
"optional": true,
|
|
24880
24880
|
"type": "integer"
|
|
24881
|
+
},
|
|
24882
|
+
{
|
|
24883
|
+
"name": "captureArea",
|
|
24884
|
+
"description": "The area to record. Defaults to `target`.",
|
|
24885
|
+
"experimental": true,
|
|
24886
|
+
"optional": true,
|
|
24887
|
+
"type": "string",
|
|
24888
|
+
"enum": [
|
|
24889
|
+
"target",
|
|
24890
|
+
"browserWindow"
|
|
24891
|
+
]
|
|
24881
24892
|
}
|
|
24882
24893
|
],
|
|
24883
24894
|
"returns": [
|
package/package.json
CHANGED
package/pdl/domains/Page.pdl
CHANGED
|
@@ -1227,6 +1227,15 @@ domain Page
|
|
|
1227
1227
|
optional integer maxHeight
|
|
1228
1228
|
# Maximum frame rate in frames per second.
|
|
1229
1229
|
optional integer frameRate
|
|
1230
|
+
# The area to record. Defaults to `target`.
|
|
1231
|
+
experimental optional enum captureArea
|
|
1232
|
+
# Records only the target page.
|
|
1233
|
+
target
|
|
1234
|
+
# Records the browser window that shows the target, like window
|
|
1235
|
+
# capture with getDisplayMedia(). If the target is a docked DevTools
|
|
1236
|
+
# window, the window shows DevTools and the inspected page. Only
|
|
1237
|
+
# available to trusted clients and to embedders that support it.
|
|
1238
|
+
browserWindow
|
|
1230
1239
|
returns
|
|
1231
1240
|
# A handle of the stream that holds resulting screencast data.
|
|
1232
1241
|
experimental IO.StreamHandle stream
|
package/types/protocol.d.ts
CHANGED
|
@@ -18486,6 +18486,11 @@ export namespace Protocol {
|
|
|
18486
18486
|
sendLastFrame?: boolean;
|
|
18487
18487
|
}
|
|
18488
18488
|
|
|
18489
|
+
export const enum StartScreenRecordingRequestCaptureArea {
|
|
18490
|
+
Target = 'target',
|
|
18491
|
+
BrowserWindow = 'browserWindow',
|
|
18492
|
+
}
|
|
18493
|
+
|
|
18489
18494
|
export interface StartScreenRecordingRequest {
|
|
18490
18495
|
audio?: boolean;
|
|
18491
18496
|
/**
|
|
@@ -18500,6 +18505,11 @@ export namespace Protocol {
|
|
|
18500
18505
|
* Maximum frame rate in frames per second.
|
|
18501
18506
|
*/
|
|
18502
18507
|
frameRate?: integer;
|
|
18508
|
+
/**
|
|
18509
|
+
* The area to record. Defaults to `target`.
|
|
18510
|
+
* @experimental
|
|
18511
|
+
*/
|
|
18512
|
+
captureArea?: ('target' | 'browserWindow');
|
|
18503
18513
|
}
|
|
18504
18514
|
|
|
18505
18515
|
export interface StartScreenRecordingResponse {
|