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 r2230 (#38313)

Yury Semikhatskye4af1585fcfa
diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json
index 3e9cbd4653..a179fb2e5a 100644
--- a/packages/playwright-core/browsers.json
+++ b/packages/playwright-core/browsers.json
@@ -39,7 +39,7 @@
},
{
"name": "webkit",
- "revision": "2229",
+ "revision": "2230",
"installByDefault": true,
"revisionOverrides": {
"debian11-x64": "2105",
diff --git a/tests/library/capabilities.spec.ts b/tests/library/capabilities.spec.ts
index 7332b70985..2fd3610bc4 100644
--- a/tests/library/capabilities.spec.ts
+++ b/tests/library/capabilities.spec.ts
@@ -468,7 +468,10 @@ it('should not auto play audio', {
});
});
await page.goto('http://127.0.0.1/audio.html');
- await expect(page.locator('#log')).toHaveText('State: suspended');
+ if (browserName === 'webkit')
+ await expect(page.locator('#log')).toHaveText('State: interrupted');
+ else
+ await expect(page.locator('#log')).toHaveText('State: suspended');
});
it('should not crash on feature detection for PublicKeyCredential', {