-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
Description
Context:
- Playwright Version: 1.10
- Operating System: Mac 11.2.2 and 10.15.7
- Node.js version: v14.8.0
- Browser: WebKit
- Original issue: WebKit fails on basic test playwright-community/jest-playwright#659
To Reproduce
Execute this script:
// @ts-check
const playwright = require('playwright');
(async () => {
const browser = await playwright.webkit.launch();
const context = await browser.newContext();
const page = await context.newPage();
await page.goto("https://www.whatismybrowser.com/")
await page.screenshot({ path: `example.png` });
await browser.close();
})();or from the original bug report:
git clone https://github.com/jsjoeio/jest-playwright-repro.gityarnyarn test
Describe the bug
Actual: WebKit page crashes with Navigation failed because page crashed
Expected: Test passes
It works for Chromium and Firefox.
It seems like its because https://whatismybrowser.com/ is a redirect -> 301 redirect.
jsjoeio