diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json index 0db2467bf4..d62baae92c 100644 --- a/packages/playwright-core/browsers.json +++ b/packages/playwright-core/browsers.json @@ -33,7 +33,7 @@ }, { "name": "webkit", - "revision": "1707", + "revision": "1712", "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 07ac05f4aa..d364a4386c 100644 --- a/packages/playwright-core/src/server/webkit/protocol.d.ts +++ b/packages/playwright-core/src/server/webkit/protocol.d.ts @@ -910,7 +910,7 @@ export module Protocol { /** * Relevant layout information about the node. Things not in this list are not important to Web Inspector. */ - export type LayoutFlag = "rendered"|"flex"|"grid"; + export type LayoutFlag = "rendered"|"flex"|"grid"|"event"; /** * 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. */ @@ -2557,6 +2557,10 @@ export module Protocol { * Id of the node to get listeners for. */ nodeId: NodeId; + /** + * Controls whether ancestor event listeners are included. Defaults to true. + */ + includeAncestors?: boolean; } export type getEventListenersForNodeReturnValue = { /** @@ -2974,6 +2978,10 @@ export module Protocol { * Source element handle. */ objectId?: Runtime.RemoteObjectId; + /** + * Id of the frame to resolve the owner element. + */ + frameId?: Network.FrameId; /** * Specifies in which execution context to adopt to. */