diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json
index 75fab9a83a..d4eb97624e 100644
--- a/packages/playwright-core/browsers.json
+++ b/packages/playwright-core/browsers.json
@@ -23,7 +23,7 @@
},
{
"name": "webkit",
- "revision": "1604",
+ "revision": "1609",
"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.ts
index bbdfde73ab..0b980bb010 100644
--- a/packages/playwright-core/src/server/webkit/protocol.d.ts
+++ b/packages/playwright-core/src/server/webkit/protocol.d.ts
@@ -162,7 +162,7 @@ export module Protocol {
animationId: AnimationId;
}
export type requestEffectTargetReturnValue = {
- nodeId: DOM.NodeId;
+ effectTarget: DOM.Styleable;
}
/**
* Resolves JavaScript `WebAnimation` object for given `AnimationId`.
@@ -906,7 +906,7 @@ export module Protocol {
/**
* The layout context type of a node.
*/
- export type LayoutContextType = "grid";
+ export type LayoutContextType = "flex"|"grid";
/**
* The mode for how layout context type changes are handled (default: Observed). Observed limits handling to those nodes already known to the frontend by other means (generally, this means the node is a visible item in the Elements tab). All informs the frontend of all layout context type changes and all nodes with a known layout context are sent to the frontend.
*/
@@ -1172,7 +1172,7 @@ export module Protocol {
export type forcePseudoStateReturnValue = {
}
/**
- * Change how layout context type changes are handled for nodes. When the new mode would observe nodes the frontend has not yet received, those nodes will be sent to the frontend immediately.
+ * Change how layout context type changes are handled for nodes. When the new mode would observe nodes the frontend has not yet recieved, those nodes will be sent to the frontend immediately.
*/
export type setLayoutContextTypeChangedModeParameters = {
/**
@@ -2085,6 +2085,13 @@ export module Protocol {
*/
marginColor?: RGBAColor;
}
+ /**
+ * An object referencing a node and a pseudo-element, primarily used to identify an animation effect target.
+ */
+ export interface Styleable {
+ nodeId: NodeId;
+ pseudoId?: CSS.PseudoId;
+ }
/**
* Data to construct File object.
*/