Document the `libatomic1` prerequisite before the Python installation commands and announce it in the 1.65 release notes. Bundled Node.js 26 cannot start without this library, so `playwright install --with-deps` cannot install it first.
The dependency is intentional. This documents it without changing the bundled runtime.
Refs https://github.com/microsoft/playwright/issues/44259
<sub>Triaged on Linux by the Playwright bot - [agent run](https://github.com/microsoft/devops.playwright.dev/actions/runs/44793745790)</sub>
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
Add `retryStrategy: 'deferred'` to queue retries after unrun tests and allow them to run on available workers. Keep exclusive retry execution for `isolated` and preserve existing test locks.
Update the configuration docs and generated types. Extend ordering coverage and add a synchronized check for retries overlapping with first attempts and other retries.
Fixes https://github.com/microsoft/playwright/issues/44226
<sub>Triaged on Linux by the Playwright bot - [agent run](https://github.com/microsoft/devops.playwright.dev/actions/runs/44576418773)</sub>
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
`Locator.waitForFunction` checked a returned promise for truthiness instead of awaiting its value, so async predicates passed immediately and rejections were lost.
Await the element callback before checking its result. Extend the existing promise and error tests to cover false results, delayed resolution with polling, and rejection.
Fixes https://github.com/microsoft/playwright/issues/44217
<sub>Triaged on Linux by the Playwright bot - [agent run](https://github.com/microsoft/devops.playwright.dev/actions/runs/44370243233)</sub>
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
The fileRoot test assumed forward slashes in `classname`, but JUnit preserves the native suite path. Use `path.join` for that assertion and keep the normalized `file` expectations unchanged. The existing test covers both direct and merged reports.
Fixes https://github.com/microsoft/playwright/issues/44225
<sub>Triaged on Windows by the Playwright bot - [agent run](https://github.com/microsoft/devops.playwright.dev/actions/runs/44562945812)</sub>
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
Add the missing `required` state to ARIA snapshot extraction, JSON/YAML output, parsing and matching, with documentation and coverage in the existing flags test.
Limit the state to WAI-ARIA 1.2 supported roles, including inherited roles. Native `required` takes precedence over `aria-required="false"`; false values stay omitted from output but can be asserted explicitly.
Fixes https://github.com/microsoft/playwright/issues/44204
<sub>Triaged on Linux by the Playwright bot - [agent run](https://github.com/microsoft/devops.playwright.dev/actions/runs/44350239660)</sub>
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
Screenshot capture failures can include an intermediate image. Snapshot updates treated that image as a successful capture and overwrote the baseline.
Mark stable baseline mismatches in the internal screenshot result and update only from those results. Preserve stable-image updates, comparison tolerances, and existing capture errors. Extend the existing update test to check that an unstable capture leaves the stable baseline unchanged.
Fixes https://github.com/microsoft/playwright/issues/44128
<sub>Triaged on Windows by the Playwright bot - [agent run](https://github.com/microsoft/devops.playwright.dev/actions/runs/43960226570)</sub>
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
Cover relative script redirects and helper imports for a SharedWorker started after classic and module workers. The reported stall did not reproduce on Linux with 1.65.0 or main, including 600 two-CPU runs per version; this adds coverage without claiming a fix.
A separate test is needed because the existing dedicated-worker redirect test asserts network events that SharedWorkers do not expose, while the SharedWorker restart test checks page lifecycle without redirects.
Issue: https://github.com/microsoft/playwright/issues/44134
<sub>Triaged on Linux - [agent run](https://github.com/microsoft/devops.playwright.dev/actions/runs/43960289428)</sub>
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
Document that pressing `CapsLock` sends keyboard events but does not make subsequent lowercase input uppercase. Point users to explicit uppercase input instead; keyboard behavior is unchanged.
Refs https://github.com/microsoft/playwright/issues/44200
<sub>Triaged on Linux by the Playwright bot - [agent run](https://github.com/microsoft/devops.playwright.dev/actions/runs/44350212425)</sub>
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
The red action marker was positioned only when the DOM snapshot loaded, so it stayed at the old viewport coordinates after scrolling. Recompute its position on document and shadow-root scroll events, including scrollable descendants.
The extended target-highlight test checks alignment before scrolling, after scrolling down, and after returning to the original position. It fails without the fix and passes with Chromium, Firefox and WebKit recordings.
Fixes https://github.com/microsoft/playwright/issues/44127
<sub>Triaged on macOS by the Playwright bot - [agent run](https://github.com/microsoft/devops.playwright.dev/actions/runs/43960219698)</sub>
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
`webmcp-list` reads the tools cached by the last snapshot, so it misses tools registered later.
Refresh through `Tab.updateWebMCPTools()` before rendering the list. This keeps the cache current while preserving the WebMCP configuration gate and dialog handling. Extend the existing CLI test with a tool registered after `open`, without another snapshot.
Refs https://github.com/microsoft/playwright-cli/issues/544
<sub>Triaged on macOS by the Playwright bot - [agent run](https://github.com/microsoft/devops.playwright.dev/actions/runs/44354240106)</sub>
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
Explicit relative output filenames bypass the unsuitable-workspace fallback used for automatically named files. Use the same directory suitability check for both, while preserving absolute filenames and input-file resolution.
Check Windows directory writability by creating an exclusive temporary file: `fs.accessSync(W_OK)` does not check Windows ACLs.
Fixes https://github.com/microsoft/playwright/issues/44138
<sub>Triaged on Windows by the Playwright bot - [agent run](https://github.com/microsoft/devops.playwright.dev/actions/runs/43960297452)</sub>
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
Extend the existing frame-detachment test with a cross-origin child navigating while its parent redirects twice. Check that the final page loads and no child frames remain.
The reported crash did not reproduce on 1.58.0 or main, headless or headed, on Chromium, Firefox or WebKit. This adds coverage only; it does not change the navigation handler.
Issue: https://github.com/microsoft/playwright/issues/44207
<sub>Triaged on Linux by the Playwright bot - [agent run](https://github.com/microsoft/devops.playwright.dev/actions/runs/44350260075)</sub>
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>