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 r1805 (#21349)

Playwright Service0ce5651975c9
diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json
index 6a80b5fb43..af4d4b5f7d 100644
--- a/packages/playwright-core/browsers.json
+++ b/packages/playwright-core/browsers.json
@@ -33,7 +33,7 @@
},
{
"name": "webkit",
- "revision": "1803",
+ "revision": "1805",
"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 aee2e84f86..588b9ff8d8 100644
--- a/packages/playwright-core/src/server/webkit/protocol.d.ts
+++ b/packages/playwright-core/src/server/webkit/protocol.d.ts
@@ -7011,13 +7011,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
}
export type setTimeZoneReturnValue = {
}
- /**
- * Clears browser memory cache.
- */
- export type clearMemoryCacheParameters = {
- }
- export type clearMemoryCacheReturnValue = {
- }
/**
* Enables touch events on platforms that lack them.
*/
@@ -7625,6 +7618,17 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
}
export type cancelDownloadReturnValue = {
}
+ /**
+ * Clears browser memory cache.
+ */
+ export type clearMemoryCacheParameters = {
+ /**
+ * Browser context id.
+ */
+ browserContextId: ContextID;
+ }
+ export type clearMemoryCacheReturnValue = {
+ }
}
/**
@@ -9369,7 +9373,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Page.setEmulatedMedia": Page.setEmulatedMediaParameters;
"Page.setForcedColors": Page.setForcedColorsParameters;
"Page.setTimeZone": Page.setTimeZoneParameters;
- "Page.clearMemoryCache": Page.clearMemoryCacheParameters;
"Page.setTouchEmulationEnabled": Page.setTouchEmulationEnabledParameters;
"Page.snapshotNode": Page.snapshotNodeParameters;
"Page.snapshotRect": Page.snapshotRectParameters;
@@ -9402,6 +9405,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Playwright.setLanguages": Playwright.setLanguagesParameters;
"Playwright.setDownloadBehavior": Playwright.setDownloadBehaviorParameters;
"Playwright.cancelDownload": Playwright.cancelDownloadParameters;
+ "Playwright.clearMemoryCache": Playwright.clearMemoryCacheParameters;
"Runtime.parse": Runtime.parseParameters;
"Runtime.evaluate": Runtime.evaluateParameters;
"Runtime.awaitPromise": Runtime.awaitPromiseParameters;
@@ -9678,7 +9682,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Page.setEmulatedMedia": Page.setEmulatedMediaReturnValue;
"Page.setForcedColors": Page.setForcedColorsReturnValue;
"Page.setTimeZone": Page.setTimeZoneReturnValue;
- "Page.clearMemoryCache": Page.clearMemoryCacheReturnValue;
"Page.setTouchEmulationEnabled": Page.setTouchEmulationEnabledReturnValue;
"Page.snapshotNode": Page.snapshotNodeReturnValue;
"Page.snapshotRect": Page.snapshotRectReturnValue;
@@ -9711,6 +9714,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Playwright.setLanguages": Playwright.setLanguagesReturnValue;
"Playwright.setDownloadBehavior": Playwright.setDownloadBehaviorReturnValue;
"Playwright.cancelDownload": Playwright.cancelDownloadReturnValue;
+ "Playwright.clearMemoryCache": Playwright.clearMemoryCacheReturnValue;
"Runtime.parse": Runtime.parseReturnValue;
"Runtime.evaluate": Runtime.evaluateReturnValue;
"Runtime.awaitPromise": Runtime.awaitPromiseReturnValue;