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 r1620 (#12971)

github-actions[bot]2d5762c84217
diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json
index 803d293938..00646ec935 100644
--- a/packages/playwright-core/browsers.json
+++ b/packages/playwright-core/browsers.json
@@ -23,7 +23,7 @@
},
{
"name": "webkit",
- "revision": "1619",
+ "revision": "1620",
"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 6deff4563e..485ee114de 100644
--- a/packages/playwright-core/src/server/webkit/protocol.d.ts
+++ b/packages/playwright-core/src/server/webkit/protocol.d.ts
@@ -7262,6 +7262,21 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
*/
loaderId?: Network.LoaderId;
}
+ /**
+ * Grants read access for the specified files to the web process of the page.
+ */
+ export type grantFileReadAccessParameters = {
+ /**
+ * Unique identifier of the page proxy.
+ */
+ pageProxyId: PageProxyID;
+ /**
+ * Id of the frame to navigate.
+ */
+ paths: string[];
+ }
+ export type grantFileReadAccessReturnValue = {
+ }
/**
* Change whether all certificate errors should be ignored.
*/
@@ -9096,6 +9111,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Playwright.deleteContext": Playwright.deleteContextParameters;
"Playwright.createPage": Playwright.createPageParameters;
"Playwright.navigate": Playwright.navigateParameters;
+ "Playwright.grantFileReadAccess": Playwright.grantFileReadAccessParameters;
"Playwright.setIgnoreCertificateErrors": Playwright.setIgnoreCertificateErrorsParameters;
"Playwright.getAllCookies": Playwright.getAllCookiesParameters;
"Playwright.setCookies": Playwright.setCookiesParameters;
@@ -9397,6 +9413,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Playwright.deleteContext": Playwright.deleteContextReturnValue;
"Playwright.createPage": Playwright.createPageReturnValue;
"Playwright.navigate": Playwright.navigateReturnValue;
+ "Playwright.grantFileReadAccess": Playwright.grantFileReadAccessReturnValue;
"Playwright.setIgnoreCertificateErrors": Playwright.setIgnoreCertificateErrorsReturnValue;
"Playwright.getAllCookies": Playwright.getAllCookiesReturnValue;
"Playwright.setCookies": Playwright.setCookiesReturnValue;