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 r2151 (#35335)

microsoft-playwright-automation[bot]95cbe85f7b20
diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json
index 0ec26b5505..b25f8ec252 100644
--- a/packages/playwright-core/browsers.json
+++ b/packages/playwright-core/browsers.json
@@ -39,7 +39,7 @@
},
{
"name": "webkit",
- "revision": "2150",
+ "revision": "2151",
"installByDefault": true,
"revisionOverrides": {
"debian11-x64": "2105",
diff --git a/packages/playwright-core/src/server/webkit/protocol.d.ts b/packages/playwright-core/src/server/webkit/protocol.d.ts
index d6e5252f00..a29bb48f07 100644
--- a/packages/playwright-core/src/server/webkit/protocol.d.ts
+++ b/packages/playwright-core/src/server/webkit/protocol.d.ts
@@ -26,7 +26,6 @@ export module Protocol {
* Equal to the corresponding `transition-property` CSS property. Should not be provided if `animationName` is also provided.
*/
cssTransitionProperty?: string;
- effect?: Effect;
/**
* Backtrace that was captured when this `WebAnimation` was created.
*/
@@ -104,10 +103,6 @@ export module Protocol {
*/
export type effectChangedPayload = {
animationId: AnimationId;
- /**
- * This is omitted when the effect is removed without a replacement.
- */
- effect?: Effect;
}
/**
* Dispatched whenever the target of any effect of any animation is changed in any way.
@@ -155,6 +150,18 @@ export module Protocol {
}
export type disableReturnValue = {
}
+ /**
+ * Gets the `Effect` for the animation with the given `AnimationId`.
+ */
+ export type requestEffectParameters = {
+ animationId: AnimationId;
+ }
+ export type requestEffectReturnValue = {
+ /**
+ * This is omitted when there is no effect.
+ */
+ effect?: Effect;
+ }
/**
* Gets the `DOM.NodeId` for the target of the effect of the animation with the given `AnimationId`.
*/
@@ -9179,6 +9186,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
export interface CommandParameters {
"Animation.enable": Animation.enableParameters;
"Animation.disable": Animation.disableParameters;
+ "Animation.requestEffect": Animation.requestEffectParameters;
"Animation.requestEffectTarget": Animation.requestEffectTargetParameters;
"Animation.resolveAnimation": Animation.resolveAnimationParameters;
"Animation.startTracking": Animation.startTrackingParameters;
@@ -9483,6 +9491,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
export interface CommandReturnValues {
"Animation.enable": Animation.enableReturnValue;
"Animation.disable": Animation.disableReturnValue;
+ "Animation.requestEffect": Animation.requestEffectReturnValue;
"Animation.requestEffectTarget": Animation.requestEffectTargetReturnValue;
"Animation.resolveAnimation": Animation.resolveAnimationReturnValue;
"Animation.startTracking": Animation.startTrackingReturnValue;