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 r1904 (#26855)
Playwright Service94c1b749b2ce
diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.jsonindex 6121dfe61f..3b9d048a1d 100644--- a/packages/playwright-core/browsers.json+++ b/packages/playwright-core/browsers.json@@ -39,7 +39,7 @@},{"name": "webkit",- "revision": "1902",+ "revision": "1904","installByDefault": true,"revisionOverrides": {"mac10.14": "1446",diff --git a/packages/playwright-core/src/server/webkit/protocol.d.ts b/packages/playwright-core/src/server/webkit/protocol.d.tsindex b5ba81be78..64368682b6 100644--- a/packages/playwright-core/src/server/webkit/protocol.d.ts+++ b/packages/playwright-core/src/server/webkit/protocol.d.ts@@ -1297,6 +1297,14 @@ export module Protocol {* The type of rendering context backing the canvas.*/contextType: ContextType;+ /**+ * Width of the canvas in pixels.+ */+ width: number;+ /**+ * Height of the canvas in pixels.+ */+ height: number;/*** The corresponding DOM node id.*/@@ -1339,6 +1347,20 @@ export module Protocol {*/canvasId: CanvasId;}+ export type canvasSizeChangedPayload = {+ /**+ * Identifier of canvas that changed.+ */+ canvasId: CanvasId;+ /**+ * Width of the canvas in pixels.+ */+ width: number;+ /**+ * Height of the canvas in pixels.+ */+ height: number;+ }export type canvasMemoryChangedPayload = {/*** Identifier of canvas that changed.@@ -9088,6 +9110,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the"CSS.nodeLayoutFlagsChanged": CSS.nodeLayoutFlagsChangedPayload;"Canvas.canvasAdded": Canvas.canvasAddedPayload;"Canvas.canvasRemoved": Canvas.canvasRemovedPayload;+ "Canvas.canvasSizeChanged": Canvas.canvasSizeChangedPayload;"Canvas.canvasMemoryChanged": Canvas.canvasMemoryChangedPayload;"Canvas.extensionEnabled": Canvas.extensionEnabledPayload;"Canvas.clientNodesChanged": Canvas.clientNodesChangedPayload;