-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
Description
Version
1.56
Steps to reproduce
- Run
npx playwright wk https://playwright.dev - Click on "Get started"
- Press F5 (page reload) multiple times
- After a few attempts the browser crashes
~/workspace/codeceptjs/tests/s4w$ npx playwright wk https://playwright.dev
/home/mirao/workspace/codeceptjs/node_modules/.pnpm/playwright-core@1.56.0/node_modules/playwright-core/lib/utils/isomorphic/assert.js:26
throw new Error(message || "Assertion error");
^
Error: Assertion error
at assert (/home/mirao/workspace/codeceptjs/node_modules/.pnpm/playwright-core@1.56.0/node_modules/playwright-core/lib/utils/isomorphic/assert.js:26:11)
at WKPage._onTargetCreated (/home/mirao/workspace/codeceptjs/node_modules/.pnpm/playwright-core@1.56.0/node_modules/playwright-core/lib/server/webkit/wkPage.js:296:31)
at WKSession.emit (node:events:524:28)
at /home/mirao/workspace/codeceptjs/node_modules/.pnpm/playwright-core@1.56.0/node_modules/playwright-core/lib/server/webkit/wkConnection.js:139:41
Node.js v20.19.5
Expected behavior
No crash
Actual behavior
Browser crashes
Additional context
It happens even with our web app in E2E tests (CodeceptJS + Playwright), tested with the headless mode in a docker image (Ubuntu 24.04.3)
Playwright 1.55.1 isn't affected, so it's a regression in 1.56.
Environment
System:
OS: Linux 6.14 Ubuntu 24.04.3 LTS 24.04.3 LTS (Noble Numbat)
CPU: (16) x64 AMD Ryzen 7 9700X 8-Core Processor
Memory: 30.30 GB / 60.49 GB
Container: Yes
Binaries:
Node: 20.19.5 - /home/mirao/.nvm/versions/node/v20.19.5/bin/node
npm: 10.8.2 - /home/mirao/.nvm/versions/node/v20.19.5/bin/npm
pnpm: 9.15.9 - /home/mirao/.nvm/versions/node/v20.19.5/bin/pnpm
IDEs:
VSCode: 1.104.3 - /usr/bin/code
Languages:
Bash: 5.2.21 - /usr/bin/bashLeopoldthecoder, felipedeboni, DerGernTod, simdyn, mnigh and 2 more