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 r2315 (#41370)

microsoft-playwright-automation[bot]15d5c668739a
diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json
index ed19db2706..78aa065386 100644
--- a/packages/playwright-core/browsers.json
+++ b/packages/playwright-core/browsers.json
@@ -45,7 +45,7 @@
},
{
"name": "webkit",
- "revision": "2314",
+ "revision": "2315",
"installByDefault": true,
"revisionOverrides": {
"mac14": "2251",
diff --git a/packages/playwright-core/src/server/webkit/protocol.d.ts b/packages/playwright-core/src/server/webkit/protocol.d.ts
index 85ea7a49c2..0cbe11ddc8 100644
--- a/packages/playwright-core/src/server/webkit/protocol.d.ts
+++ b/packages/playwright-core/src/server/webkit/protocol.d.ts
@@ -7482,6 +7482,21 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
}
export type setPageZoomFactorReturnValue = {
}
+ /**
+ * Closes the page, destroying the page proxy. Works for both live and crashed pages.
+ */
+ export type closePageParameters = {
+ /**
+ * Unique identifier of the page proxy.
+ */
+ pageProxyId: PageProxyID;
+ /**
+ * Whether to run the beforeunload page handlers.
+ */
+ runBeforeUnload?: boolean;
+ }
+ export type closePageReturnValue = {
+ }
/**
* Returns all cookies in the given browser context.
*/
@@ -9449,6 +9464,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Playwright.takePageScreenshot": Playwright.takePageScreenshotParameters;
"Playwright.setIgnoreCertificateErrors": Playwright.setIgnoreCertificateErrorsParameters;
"Playwright.setPageZoomFactor": Playwright.setPageZoomFactorParameters;
+ "Playwright.closePage": Playwright.closePageParameters;
"Playwright.getAllCookies": Playwright.getAllCookiesParameters;
"Playwright.setCookies": Playwright.setCookiesParameters;
"Playwright.deleteAllCookies": Playwright.deleteAllCookiesParameters;
@@ -9754,6 +9770,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Playwright.takePageScreenshot": Playwright.takePageScreenshotReturnValue;
"Playwright.setIgnoreCertificateErrors": Playwright.setIgnoreCertificateErrorsReturnValue;
"Playwright.setPageZoomFactor": Playwright.setPageZoomFactorReturnValue;
+ "Playwright.closePage": Playwright.closePageReturnValue;
"Playwright.getAllCookies": Playwright.getAllCookiesReturnValue;
"Playwright.setCookies": Playwright.setCookiesReturnValue;
"Playwright.deleteAllCookies": Playwright.deleteAllCookiesReturnValue;