diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json index 64d4c1b7da..1acc1d2b92 100644 --- a/packages/playwright-core/browsers.json +++ b/packages/playwright-core/browsers.json @@ -33,7 +33,7 @@ }, { "name": "webkit", - "revision": "1808", + "revision": "1811", "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 2164445cff..812f1b0369 100644 --- a/packages/playwright-core/src/server/webkit/protocol.d.ts +++ b/packages/playwright-core/src/server/webkit/protocol.d.ts @@ -714,6 +714,10 @@ export module Protocol { * Grouping list array (for rules involving @media/@supports). The array enumerates CSS groupings starting with the innermost one, going outwards. */ groupings?: Grouping[]; + /** + * true if this style is for a rule implicitly wrapping properties declared inside of CSSGrouping. + */ + isImplicitlyNested?: boolean; } /** * Text range within a resource. @@ -1540,6 +1544,10 @@ export module Protocol { * Level of logging. */ export type ChannelLevel = "off"|"basic"|"verbose"; + /** + * The reason the console is being cleared. + */ + export type ClearReason = "console-api"|"main-frame-navigation"; /** * Logging channel. */ @@ -1666,7 +1674,12 @@ export module Protocol { /** * Issued when console is cleared. This happens either upon clearMessages command or after page navigation. */ - export type messagesClearedPayload = void; + export type messagesClearedPayload = { + /** + * The reason the console is being cleared. + */ + reason: ClearReason; + } /** * Issued from console.takeHeapSnapshot. */