18544 Commits
Author SHA1 Message Date
Yury Semikhatsky 049226728d chore(client): remove unused Frame._evaluateExposeUtilityScript (#44274) 2026-11-20 18:30:35 -08:00
microsoft-playwright-automation[bot] 36b06485cc fix(cli): exit run-server when stdin closes (#44258)
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
2026-11-20 15:27:30 -08:00
microsoft-playwright-automation[bot] eacf88727e fix(install): remove unused Chromium dependency checks (#44234)
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
2026-11-20 15:26:56 -08:00
microsoft-playwright-automation[bot] f5edf1887e fix(har): avoid hanging on open page dialogs (#44245)
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
2026-11-20 15:26:34 -08:00
Pavel Feldman 99d4c415db feat(chromium): attach to a running browser with a remote-debugging:// or extension:// URL (#44247) 2026-11-20 11:10:19 -08:00
microsoft-playwright-automation[bot] 5102cf8809 docs(python): document bundled Node.js libatomic prerequisite (#44262)
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>
2026-11-20 12:06:16 -07:00
Dmitry Gozman 2f1592a70b test: allow tip-of-tree Chromium revision in install tests (#44256) 2026-11-20 16:17:14 +00:00
Pavel Feldman a018f24a4f feat(cli): list browser profiles and attach to a profile with --profile-dir-name (#44243) 2026-11-19 17:19:22 -08:00
Yury Semikhatsky feb1be1a8e chore: remove generateApiJson.js and the .NET API generator (#44244) 2026-11-19 17:06:22 -08:00
Dmitry Gozman 08d33c493b chore: remove dotnet-specific scripts (#44229) 2026-11-19 22:05:11 +00:00
microsoft-playwright-automation[bot] 1664ab2899 feat(chromium): roll to 159.0.8154.13 (#44238)
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
2026-11-19 20:51:18 +00:00
Dmitry Gozman dad6310470 test: fix failing and flaky tests on the bots (#44230) 2026-11-19 20:48:04 +00:00
microsoft-playwright-automation[bot] 13f054782a feat(test): add deferred retry strategy (#44235)
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>
2026-11-19 12:47:09 -07:00
microsoft-playwright-automation[bot] 221cbc8ed3 test: avoid large core dumps in crash tests (#44102)
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
2026-11-19 19:15:47 +00:00
Dmitry Gozman b7cc538524 chore: add the playwright-bisect-chromium skill, fix the Chromium roll (#44227) 2026-11-19 19:12:13 +00:00
microsoft-playwright-automation[bot] 09dab5d709 fix(locator): [breaking] await waitForFunction predicate promises (#44220)
`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>
2026-11-19 10:05:30 -07:00
microsoft-playwright-automation[bot] e528ef8ccd test(junit): expect native classname path separators (#44232)
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>
2026-11-19 10:04:23 -07:00
dependabot[bot] 9db10d458f chore(deps): bump the github-actions group with 2 updates (#44132)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-19 09:30:27 -07:00
microsoft-playwright-automation[bot] ff7cf8ebdb feat(aria): include required state in snapshots (#44210)
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>
2026-11-19 09:04:12 -07:00
microsoft-playwright-automation[bot] 38a4621a12 fix(screenshots): preserve baselines when capture is unstable (#44151)
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>
2026-11-19 09:03:31 -07:00
microsoft-playwright-automation[bot] 28c4b2e0ad test(workers): cover redirected shared worker startup (#44158)
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>
2026-11-18 16:21:56 -07:00
microsoft-playwright-automation[bot] e245c3f75b docs(input): document Caps Lock state limitation (#44209)
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>
2026-11-18 13:46:14 -07:00
microsoft-playwright-automation[bot] 6244a88979 fix(trace-viewer): keep action marker aligned while scrolling (#44154)
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>
2026-11-18 13:23:02 -07:00
microsoft-playwright-automation[bot] d6cd3abc4b fix(cli): refresh WebMCP tools before listing (#44216)
`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>
2026-11-18 13:22:35 -07:00
microsoft-playwright-automation[bot] 0116d08ff0 fix(mcp): fall back for filenames in unsuitable workspaces (#44155)
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>
2026-11-18 13:13:54 -07:00
microsoft-playwright-automation[bot] 4df46f33c2 test(frames): cover child navigation during parent redirects (#44213)
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>
2026-11-18 13:09:47 -07:00
Pavel Feldman 66e3f93d7f chore: start the review bot on pull_request_target again (#44219) 2026-11-18 10:48:51 -08:00
microsoft-playwright-automation[bot] 084caef129 fix(mcp): coerce INI URL redaction parameters to an array (#44182)
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
2026-11-18 10:40:27 -08:00
microsoft-playwright-automation[bot] 8fff5ce314 fix(trace): extract empty inline attachments (#44183)
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
2026-11-18 10:39:43 -08:00
microsoft-playwright-automation[bot] bfc459c18e fix(route): preserve JSON fulfillment content types (#44149)
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
2026-11-18 10:31:55 -08:00