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): roll to 1482 (#6676)

Max Schmittbae579440c79
diff --git a/browsers.json b/browsers.json
index 36e30e6cec..5cfe5fa8a3 100644
--- a/browsers.json
+++ b/browsers.json
@@ -18,7 +18,7 @@
},
{
"name": "webkit",
- "revision": "1481",
+ "revision": "1482",
"installByDefault": true,
"revisionOverrides": {
"mac10.14": "1443"
diff --git a/src/server/webkit/protocol.ts b/src/server/webkit/protocol.ts
index 5082c43497..5e384dd235 100644
--- a/src/server/webkit/protocol.ts
+++ b/src/server/webkit/protocol.ts
@@ -5983,6 +5983,10 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
* Page appearance name.
*/
export type Appearance = "Light"|"Dark";
+ /**
+ * Page reduced-motion media query override.
+ */
+ export type ReducedMotion = "Reduce"|"NoPreference";
/**
* Information about the Frame on the page.
*/
@@ -6638,6 +6642,14 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
}
export type setForcedAppearanceReturnValue = {
}
+ /**
+ * Forces the reduced-motion media query for the page.
+ */
+ export type setForcedReducedMotionParameters = {
+ reducedMotion?: ReducedMotion;
+ }
+ export type setForcedReducedMotionReturnValue = {
+ }
/**
* Enables time zone emulation.
*/
@@ -8890,6 +8902,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Page.setShowPaintRects": Page.setShowPaintRectsParameters;
"Page.setEmulatedMedia": Page.setEmulatedMediaParameters;
"Page.setForcedAppearance": Page.setForcedAppearanceParameters;
+ "Page.setForcedReducedMotion": Page.setForcedReducedMotionParameters;
"Page.setTimeZone": Page.setTimeZoneParameters;
"Page.setTouchEmulationEnabled": Page.setTouchEmulationEnabledParameters;
"Page.snapshotNode": Page.snapshotNodeParameters;
@@ -9182,6 +9195,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Page.setShowPaintRects": Page.setShowPaintRectsReturnValue;
"Page.setEmulatedMedia": Page.setEmulatedMediaReturnValue;
"Page.setForcedAppearance": Page.setForcedAppearanceReturnValue;
+ "Page.setForcedReducedMotion": Page.setForcedReducedMotionReturnValue;
"Page.setTimeZone": Page.setTimeZoneReturnValue;
"Page.setTouchEmulationEnabled": Page.setTouchEmulationEnabledReturnValue;
"Page.snapshotNode": Page.snapshotNodeReturnValue;