Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

feat(webkit): bump to 1460 (#6124)

Yury Semikhatsky09c175914eb1
diff --git a/browsers.json b/browsers.json
index a958f77fe3..4108a4eb09 100644
--- a/browsers.json
+++ b/browsers.json
@@ -13,7 +13,7 @@
},
{
"name": "webkit",
- "revision": "1457",
+ "revision": "1460",
"installByDefault": true,
"revisionOverrides": {
"mac10.14": "1443"
diff --git a/src/server/webkit/protocol.ts b/src/server/webkit/protocol.ts
index 84a48a11db..bbe340bd46 100644
--- a/src/server/webkit/protocol.ts
+++ b/src/server/webkit/protocol.ts
@@ -4107,8 +4107,8 @@ might return multiple quads for inline nodes.
export type setDeviceMetricsOverrideParameters = {
width: number;
height: number;
- deviceScaleFactor: number;
fixedLayout: boolean;
+ deviceScaleFactor?: number;
}
export type setDeviceMetricsOverrideReturnValue = {
}
@@ -6692,6 +6692,10 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
* Indicates the coordinate system of the supplied rectangle.
*/
coordinateSystem: CoordinateSystem;
+ /**
+ * By default, screenshot is inflated by device scale factor to avoid blurry image. This flag disables it.
+ */
+ omitDeviceScaleFactor?: boolean;
}
export type snapshotRectReturnValue = {
/**