@@ -8031,11 +8031,19 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
8031
8031
*/
8032
8032
export type ScreencastId = string ;
8033
8033
8034
+ export type screencastFramePayload = {
8035
+ /**
8036
+ * Base64 data
8037
+ */
8038
+ data : string ;
8039
+ deviceWidth : number ;
8040
+ deviceHeight : number ;
8041
+ }
8034
8042
8035
8043
/**
8036
8044
* Starts recoring video to speified file.
8037
8045
*/
8038
- export type startParameters = {
8046
+ export type startVideoParameters = {
8039
8047
/**
8040
8048
* Output file location.
8041
8049
*/
@@ -8044,7 +8052,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
8044
8052
height : number ;
8045
8053
scale ?: number ;
8046
8054
}
8047
- export type startReturnValue = {
8055
+ export type startVideoReturnValue = {
8048
8056
/**
8049
8057
* Unique identifier of the screencast.
8050
8058
*/
@@ -8053,9 +8061,38 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
8053
8061
/**
8054
8062
* Stops recoding video. Returns after the file has been closed.
8055
8063
*/
8056
- export type stopParameters = {
8064
+ export type stopVideoParameters = {
8057
8065
}
8058
- export type stopReturnValue = {
8066
+ export type stopVideoReturnValue = {
8067
+ }
8068
+ /**
8069
+ * Starts screencast.
8070
+ */
8071
+ export type startScreencastParameters = {
8072
+ width : number ;
8073
+ height : number ;
8074
+ quality : number ;
8075
+ }
8076
+ export type startScreencastReturnValue = {
8077
+ /**
8078
+ * Screencast session generation.
8079
+ */
8080
+ generation : number ;
8081
+ }
8082
+ /**
8083
+ * Stops screencast.
8084
+ */
8085
+ export type stopScreencastParameters = {
8086
+ }
8087
+ export type stopScreencastReturnValue = {
8088
+ }
8089
+ export type screencastFrameAckParameters = {
8090
+ /**
8091
+ * Screencast session generation
8092
+ */
8093
+ generation : number ;
8094
+ }
8095
+ export type screencastFrameAckReturnValue = {
8059
8096
}
8060
8097
}
8061
8098
@@ -8612,6 +8649,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
8612
8649
"Playwright.downloadFinished" : Playwright . downloadFinishedPayload ;
8613
8650
"Playwright.screencastFinished" : Playwright . screencastFinishedPayload ;
8614
8651
"Runtime.executionContextCreated" : Runtime . executionContextCreatedPayload ;
8652
+ "Screencast.screencastFrame" : Screencast . screencastFramePayload ;
8615
8653
"ScriptProfiler.trackingStart" : ScriptProfiler . trackingStartPayload ;
8616
8654
"ScriptProfiler.trackingUpdate" : ScriptProfiler . trackingUpdatePayload ;
8617
8655
"ScriptProfiler.trackingComplete" : ScriptProfiler . trackingCompletePayload ;
@@ -8895,8 +8933,11 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
8895
8933
"Runtime.enableControlFlowProfiler" : Runtime . enableControlFlowProfilerParameters ;
8896
8934
"Runtime.disableControlFlowProfiler" : Runtime . disableControlFlowProfilerParameters ;
8897
8935
"Runtime.getBasicBlocks" : Runtime . getBasicBlocksParameters ;
8898
- "Screencast.start" : Screencast . startParameters ;
8899
- "Screencast.stop" : Screencast . stopParameters ;
8936
+ "Screencast.startVideo" : Screencast . startVideoParameters ;
8937
+ "Screencast.stopVideo" : Screencast . stopVideoParameters ;
8938
+ "Screencast.startScreencast" : Screencast . startScreencastParameters ;
8939
+ "Screencast.stopScreencast" : Screencast . stopScreencastParameters ;
8940
+ "Screencast.screencastFrameAck" : Screencast . screencastFrameAckParameters ;
8900
8941
"ScriptProfiler.startTracking" : ScriptProfiler . startTrackingParameters ;
8901
8942
"ScriptProfiler.stopTracking" : ScriptProfiler . stopTrackingParameters ;
8902
8943
"ServiceWorker.getInitializationInfo" : ServiceWorker . getInitializationInfoParameters ;
@@ -9184,8 +9225,11 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
9184
9225
"Runtime.enableControlFlowProfiler" : Runtime . enableControlFlowProfilerReturnValue ;
9185
9226
"Runtime.disableControlFlowProfiler" : Runtime . disableControlFlowProfilerReturnValue ;
9186
9227
"Runtime.getBasicBlocks" : Runtime . getBasicBlocksReturnValue ;
9187
- "Screencast.start" : Screencast . startReturnValue ;
9188
- "Screencast.stop" : Screencast . stopReturnValue ;
9228
+ "Screencast.startVideo" : Screencast . startVideoReturnValue ;
9229
+ "Screencast.stopVideo" : Screencast . stopVideoReturnValue ;
9230
+ "Screencast.startScreencast" : Screencast . startScreencastReturnValue ;
9231
+ "Screencast.stopScreencast" : Screencast . stopScreencastReturnValue ;
9232
+ "Screencast.screencastFrameAck" : Screencast . screencastFrameAckReturnValue ;
9189
9233
"ScriptProfiler.startTracking" : ScriptProfiler . startTrackingReturnValue ;
9190
9234
"ScriptProfiler.stopTracking" : ScriptProfiler . stopTrackingReturnValue ;
9191
9235
"ServiceWorker.getInitializationInfo" : ServiceWorker . getInitializationInfoReturnValue ;
0 commit comments