Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
feat(webkit): roll to r2349 (#42241)
microsoft-playwright-automation[bot]4f25184efa49
diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.jsonindex e2d18c60b4..e402d597f8 100644--- a/packages/playwright-core/browsers.json+++ b/packages/playwright-core/browsers.json@@ -24,7 +24,7 @@},{"name": "webkit",- "revision": "2346",+ "revision": "2349","installByDefault": true,"revisionOverrides": {"mac14": "2251",diff --git a/packages/playwright-core/src/server/webkit/protocol.d.ts b/packages/playwright-core/src/server/webkit/protocol.d.tsindex 5955ff7482..a1ef302793 100644--- a/packages/playwright-core/src/server/webkit/protocol.d.ts+++ b/packages/playwright-core/src/server/webkit/protocol.d.ts@@ -1173,10 +1173,6 @@ export namespace Protocol {*/contextType: ContextType;sizes?: GenericTypes.Size[];- /**- * The corresponding DOM node id.- */- nodeId?: DOM.NodeId;/*** The CSS canvas identifiers, for canvases created with <code>document.getCSSCanvasContext</code>.*/@@ -1190,7 +1186,7 @@ export namespace Protocol {*/features?: string[];/**- * Memory usage of the canvas in bytes.+ * Estimated memory usage of the graphics context and its associated resources, in bytes.*/memoryCost?: number;/**@@ -1238,7 +1234,7 @@ export namespace Protocol {*/canvasId: CanvasId;/**- * New memory cost value for the canvas in bytes.+ * New estimated memory cost of the graphics context and its associated resources, in bytes.*/memoryCost: number;}@@ -1249,11 +1245,27 @@ export namespace Protocol {*/extension: string;}- export type clientNodesChangedPayload = {+ export type nodesChangedPayload = {+ /**+ * Identifier of canvas that changed.+ */+ canvasId: CanvasId;+ }+ export type cssCanvasClientNodesChangedPayload = {+ /**+ * Identifier of canvas that changed.+ */+ canvasId: CanvasId;+ }+ export type cssCanvasNamesChangedPayload = {/*** Identifier of canvas that changed.*/canvasId: CanvasId;+ /**+ * The CSS canvas identifiers, for canvases created with <code>document.getCSSCanvasContext</code>.+ */+ cssCanvasNames: string[];}export type recordingStartedPayload = {canvasId: CanvasId;@@ -1293,19 +1305,19 @@ export namespace Protocol {export type disableReturnValue = {}/**- * Gets the NodeId for the canvas node with the given CanvasId.+ * Gets the NodeIds for the canvas nodes with the given CanvasId.*/- export type requestNodeParameters = {+ export type requestNodesParameters = {/*** Canvas identifier.*/canvasId: CanvasId;}- export type requestNodeReturnValue = {+ export type requestNodesReturnValue = {/**- * Node identifier for given canvas.+ * Node identifiers for the given canvas.*/- nodeId: DOM.NodeId;+ nodeIds: DOM.NodeId[];}/*** Gets the data for the canvas node with the given CanvasId.@@ -1323,17 +1335,13 @@ export namespace Protocol {content: string;}/**- * Gets all <code>-webkit-canvas</code> nodes or active <code>HTMLCanvasElement</code> for a <code>WebGPUDevice</code>.+ * Gets all nodes using a <code>-webkit-canvas</code> image associated with the given CanvasId.*/- export type requestClientNodesParameters = {+ export type requestCSSCanvasClientNodesParameters = {canvasId: CanvasId;}- export type requestClientNodesReturnValue = {+ export type requestCSSCanvasClientNodesReturnValue = {clientNodeIds: DOM.NodeId[];- /**- * The CSS canvas identifiers, for canvases created with <code>document.getCSSCanvasContext</code>.- */- cssCanvasNames: string[];}/*** Resolves JavaScript canvas/device context object for given canvasId.@@ -7675,7 +7683,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the*/export interface Frame {/**- * Information about an action made to the recorded object. Follows the structure [name, parameters, swizzleTypes, stackTrace, receiver, snapshot], where name is a string, parameters is an array, swizzleTypes is an array, stackTrace is a Console.StackTrace, receiver follows the structure [identifier, swizzleType] for the object that received the action, and snapshot is a data URL image of the current contents after this action.+ * Information about an action made to the recorded object. Follows the structure [name, parameters, swizzleTypes, stackTrace, result, receiver, snapshot], where name is a string, parameters is an array, swizzleTypes is an array, stackTrace is a Console.StackTrace, result and receiver follow the structure [identifier, swizzleType] for the object returned by the action and the object that received it, respectively, and snapshot is a data URL image of the current contents after this action.*/actions: any[];/**@@ -9199,7 +9207,9 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the"Canvas.canvasSizeChanged": Canvas.canvasSizeChangedPayload;"Canvas.canvasMemoryChanged": Canvas.canvasMemoryChangedPayload;"Canvas.extensionEnabled": Canvas.extensionEnabledPayload;- "Canvas.clientNodesChanged": Canvas.clientNodesChangedPayload;+ "Canvas.nodesChanged": Canvas.nodesChangedPayload;+ "Canvas.cssCanvasClientNodesChanged": Canvas.cssCanvasClientNodesChangedPayload;+ "Canvas.cssCanvasNamesChanged": Canvas.cssCanvasNamesChangedPayload;"Canvas.recordingStarted": Canvas.recordingStartedPayload;"Canvas.recordingProgress": Canvas.recordingProgressPayload;"Canvas.recordingFinished": Canvas.recordingFinishedPayload;@@ -9327,7 +9337,9 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the["Canvas.canvasSizeChanged"]: [Canvas.canvasSizeChangedPayload];["Canvas.canvasMemoryChanged"]: [Canvas.canvasMemoryChangedPayload];["Canvas.extensionEnabled"]: [Canvas.extensionEnabledPayload];- ["Canvas.clientNodesChanged"]: [Canvas.clientNodesChangedPayload];+ ["Canvas.nodesChanged"]: [Canvas.nodesChangedPayload];+ ["Canvas.cssCanvasClientNodesChanged"]: [Canvas.cssCanvasClientNodesChangedPayload];+ ["Canvas.cssCanvasNamesChanged"]: [Canvas.cssCanvasNamesChangedPayload];["Canvas.recordingStarted"]: [Canvas.recordingStartedPayload];["Canvas.recordingProgress"]: [Canvas.recordingProgressPayload];["Canvas.recordingFinished"]: [Canvas.recordingFinishedPayload];@@ -9467,9 +9479,9 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the"CSS.setLayoutContextTypeChangedMode": CSS.setLayoutContextTypeChangedModeParameters;"Canvas.enable": Canvas.enableParameters;"Canvas.disable": Canvas.disableParameters;- "Canvas.requestNode": Canvas.requestNodeParameters;+ "Canvas.requestNodes": Canvas.requestNodesParameters;"Canvas.requestContent": Canvas.requestContentParameters;- "Canvas.requestClientNodes": Canvas.requestClientNodesParameters;+ "Canvas.requestCSSCanvasClientNodes": Canvas.requestCSSCanvasClientNodesParameters;"Canvas.resolveContext": Canvas.resolveContextParameters;"Canvas.setRecordingAutoCaptureFrameCount": Canvas.setRecordingAutoCaptureFrameCountParameters;"Canvas.startRecording": Canvas.startRecordingParameters;@@ -9777,9 +9789,9 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the"CSS.setLayoutContextTypeChangedMode": CSS.setLayoutContextTypeChangedModeReturnValue;"Canvas.enable": Canvas.enableReturnValue;"Canvas.disable": Canvas.disableReturnValue;- "Canvas.requestNode": Canvas.requestNodeReturnValue;+ "Canvas.requestNodes": Canvas.requestNodesReturnValue;"Canvas.requestContent": Canvas.requestContentReturnValue;- "Canvas.requestClientNodes": Canvas.requestClientNodesReturnValue;+ "Canvas.requestCSSCanvasClientNodes": Canvas.requestCSSCanvasClientNodesReturnValue;"Canvas.resolveContext": Canvas.resolveContextReturnValue;"Canvas.setRecordingAutoCaptureFrameCount": Canvas.setRecordingAutoCaptureFrameCountReturnValue;"Canvas.startRecording": Canvas.startRecordingReturnValue;