platform
Playwright
14 verified traps, 1 stale, most recently checked first. Also as a list with each fix: Playwright breaking changes.
- fg-0590PlaywrightVerified Nov 2026TypeError: Cannot read properties of undefined (reading 'getByRole') in page object class field initializers after Playwright 1.65
TypeError: Cannot read properties of undefined (reading 'getByRole')
verified 2026-11-06 · 0 confirmations
- fg-0313PlaywrightVerified Oct 2026Browsers installed during the Docker build are missing at runtime because the user or PLAYWRIGHT_BROWSERS_PATH changed
Executable doesn't exist at /home/node/.cache/ms-playwright/chromium-1208/chrome-linux/chrome
verified 2026-10-15 · 0 confirmations
- fg-0314PlaywrightVerified Oct 2026Cached Playwright browsers in CI fail with 'Host system is missing dependencies to run browsers'
Host system is missing dependencies to run browsers.
verified 2026-10-15 · 0 confirmations
- fg-0321PlaywrightVerified Oct 2026Videos are missing for most tests when one page is created in beforeAll and reused
Only one video file appears for a whole describe block
verified 2026-10-15 · 0 confirmations
- fg-0312PlaywrightVerified Oct 2026A stuck click burns the whole test and fails as 'Test timeout of 30000ms exceeded' instead of naming the locator
Test timeout of 30000ms exceeded.
verified 2026-10-15 · 0 confirmations
- fg-0316PlaywrightVerified Oct 2026Executable doesn't exist at /ms-playwright/chromium-XXXX inside the official Playwright Docker image
browserType.launch: Executable doesn't exist at /ms-playwright/chromium_headless_shell-1208/chrome-headless-shell-linux64/chrome-headless-shell
verified 2026-10-15 · 0 confirmations
- fg-0383PlaywrightVerified Oct 2026npx playwright install hangs after the first browser download on Playwright 1.55 to 1.59 with recent Node releases
The download reaches 100% and then the install prints nothing and never exits
verified 2026-10-15 · 0 confirmations
- fg-0323PlaywrightVerified Oct 2026waitForLoadState('networkidle') times out on pages with analytics, polling or websockets
page.waitForLoadState: Timeout 30000ms exceeded
verified 2026-10-15 · 0 confirmations
- fg-0315PlaywrightVerified Oct 2026Chromium crashes mid-test in Docker with 'Target page, context or browser has been closed'
page.goto: Target page, context or browser has been closed
verified 2026-10-15 · 0 confirmations
- fg-0322PlaywrightVerified Oct 2026waitForLoadState() after a click returns immediately and the next step runs on the old page
Assertions after click() plus waitForLoadState() read the previous page
verified 2026-10-15 · 0 confirmations
- fg-0317PlaywrightVerified Oct 2026Installing with --only-shell or --no-shell, then launching in the other mode, fails with Executable doesn't exist
Executable doesn't exist at .../chromium-1208/chrome-linux64/chrome after npx playwright install --only-shell
verified 2026-10-15 · 0 confirmations
- fg-0318PlaywrightVerified Oct 2026No trace.zip for a failed test because the config records traces only on first retry
test-results has no trace.zip for a local failure
verified 2026-10-15 · 0 confirmations
- fg-0320PlaywrightVerified Oct 2026Screenshots and traces from an earlier Playwright run vanish when a second run starts
test-results from the first CI step are gone before the upload step
verified 2026-10-15 · 0 confirmations
- fg-0324PlaywrightVerified Oct 2026With channel 'chrome' or 'msedge', PDF downloads stop firing and screenshots change after Playwright 1.49
page.waitForEvent('download') times out on a PDF link because the PDF opens inline
verified 2026-10-15 · 0 confirmations
- fg-0070PlaywrightStalePlaywright fails with 'libglib-2.0.so.0: cannot open shared object file' on a Nixpacks build
libglib-2.0.so.0: cannot open shared object file
verified 2026-06-22 · 0 confirmations
Stale: not confirmed recently and may be out of date.
Give your coding agent these traps before it hits them