fix(deps): update dependency @playwright/cli to v0.1.25 #3

Open
renovate-bot wants to merge 1 commit from renovate/playwright-cli-0.x into main
Collaborator

This PR contains the following updates:

Package Change Age Confidence
@playwright/cli (source) 0.1.13 → 0.1.25 age confidence

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

microsoft/playwright-cli (@​playwright/cli)

v0.1.25

Compare Source

✨ Highlights

  • 🗂️ Identify and resume your extension sessions (#​496) — playwright-cli attach --extension=chrome --session=docs-review --session-color=blue labels the tab group with your session name instead of a truncated product name. Disconnected groups remain available to select on the next connection. Use --no-tab-group to leave your existing tab organization alone. (microsoft/playwright#44047)
  • 🧹 Close an agent's tabs when its work is done — playwright-cli -s=docs-review detach --close-tabs closes that extension session's tabs before disconnecting. Plain detach still leaves the tabs open for later. (microsoft/playwright#44084)
  • 🖥️ Install stable Chrome on Linux ARM64 (microsoft/playwright#43998) — playwright-cli install-browser chrome now installs Google's ARM64 Debian package instead of rejecting the architecture. (microsoft/playwright#44020)

🐛 Fixes

  • fix(server): do not reveal the endpoint path over HTTP — attaching to a Playwright browser server with --endpoint now requires its full ws:// or wss:// endpoint, including the path; HTTP endpoint discovery has been removed. HTTP URLs for --cdp are unaffected. (microsoft/playwright#44190)
  • fix(mcp): do not wait for busy pages longer than 10s when connecting over CDP — a busy existing tab no longer blocks playwright-cli attach --cdp=http://localhost:9222 indefinitely. Pages that cannot initialize within 10 seconds are made available later when they respond. (microsoft/playwright#44052, microsoft/playwright#44105)
  • fix(cli): suggest matching ffmpeg installer for video recording — when video-start needs ffmpeg, its error now recommends playwright-cli install-browser ffmpeg, which installs the revision used by the CLI. (#​540, microsoft/playwright#44088)
  • fix(mcp): validate run-code input — playwright-cli run-code without code or --filename reports a clear input error instead of an internal TypeError. (microsoft/playwright#44080, microsoft/playwright#44087)
  • fix(locator): select among visible elements in first/last/nth with locateOnlyVisible — with browser.contextOptions.locateOnlyVisible enabled, locators used in run-code apply first(), last() and nth() to visible matches instead of selecting a hidden element and finding nothing. Explicit visibility filters still take precedence. (microsoft/playwright#43855, microsoft/playwright#44083)
  • fix(chromium): apply timezone to service workers — Chromium service workers honor browser.contextOptions.timezoneId from their first statement, keeping date handling consistent with pages. (microsoft/playwright#43983, microsoft/playwright#44021)
  • fix(tracing): hold dropped screencast frames while throttling — recording with playwright-cli tracing-start uses less browser CPU on idle animated pages without changing the frames kept in the trace. (microsoft/playwright#44053, microsoft/playwright#44068)
  • fix(trace-viewer): harden snapshot rendering — Trace Viewer blocks navigation and form submission from recorded snapshots. Trace-file routes also reject frame navigations, and its server checks WebSocket origins. (microsoft/playwright#44177, microsoft/playwright#44178)

📦 Upgrading

Node.js 20 or newer is required.

npm install -g @playwright/cli@0.1.25

v0.1.24

Compare Source

✨ Highlights

  • 🪟 Let agents use your logged-in browser without taking over your screen (microsoft/playwright#42973) — PLAYWRIGHT_MCP_BACKGROUND=1 playwright-cli attach --extension=chrome keeps controlled tabs and the browser window in the background. You can also set "background": true in your CLI config. (microsoft/playwright#43864)
  • 🎬 Record the whole viewport in headless Chrome and Edge — playwright-cli video-start no longer loses the bottom of the page to browser-toolbar sizing in the new headless mode. Trace screenshots benefit too. (microsoft/playwright#43904)
  • 🧭 Snapshots keep the names agents need (microsoft/playwright#43809) — playwright-cli snapshot preserves identifying names on dialogs, landmarks, tables and column headers, even when their heading or caption also appears below them. (microsoft/playwright#43810)
  • 👁️ Ignore hidden duplicate elements by default (microsoft/playwright#43855) — set "browser": { "contextOptions": { "locateOnlyVisible": true } } in your CLI config, then run playwright-cli open --config=cli.config.json. Locators resolve only visible matches, avoiding strict-mode failures from hidden, cached UI. This is opt-in. (microsoft/playwright#43903)
  • 🗂️ Keep your tab strip free of agent-created groups (microsoft/playwright#43038) — set "tabGroup": false in your CLI config and use playwright-cli attach --extension=chrome --config=cli.config.json. Extension sessions can control tabs without creating a Chrome tab group or changing your existing groups. (microsoft/playwright#43814)

🐛 Fixes

  • fix(cli): use ordinal filenames for repeated downloads — repeated downloads of report.csv become report-1.csv, report-2.csv, and so on instead of silently overwriting earlier files. (#​514, microsoft/playwright#44011)
  • fix(cli): restrict profile deletion to the exact session — playwright-cli -s=work delete-data no longer deletes the persistent profile of work-test. (#​499, microsoft/playwright#43928)
  • fix(cli): report command failures in text and JSON modes — invalid arguments and startup failures produce a readable error, or an { "isError": true, "error": "..." } object with --json, and exit with code 1 instead of exposing an unhandled rejection. (#​502, #​522)
  • fix(cli): use CLI command names in error messages — validation errors and recovery hints name commands you can actually run, such as requests and recording-start, rather than MCP tools, and avoid doubled Error: prefixes. (#​515, microsoft/playwright#43932)
  • fix(cli): avoid killing Windows process enumerators — playwright-cli kill-all correctly reports the daemons it stopped on Windows instead of saying none were found. (#​525, microsoft/playwright#44008)
  • fix(mcp): preserve non-JSON evaluation results — playwright-cli eval '() => 10n', circular objects, regular expressions and special numeric values are represented without turning successful evaluations into serialization errors or losing their values. JSON-compatible results retain their existing format. (microsoft/playwright-mcp#1838, microsoft/playwright#43973)
  • fix(mcp): resolve config file paths relative to their source — relative profile, storage-state, executable and output paths now resolve next to the config file, including .playwright/cli.config.json and ~/.playwright/cli.config.json, rather than the working directory. Paths supplied through flags or environment variables remain relative to the working directory. (microsoft/playwright-mcp#1836, microsoft/playwright#43970)
  • fix(mcp): validate device names and preserve device descriptors — an unknown --device reports a clear error instead of silently disabling emulation; context overrides no longer mutate shared device presets. (microsoft/playwright-mcp#1834, microsoft/playwright#43971)
  • fix(mcp): bound settle waits when page timers cannot run — commands such as eval and click no longer hang during their post-action wait on CSP-sandboxed pages or pages with paused clocks. (microsoft/playwright#43752, microsoft/playwright#43767)
  • fix(mcp): report event listener exceptions as console errors — exceptions in page or context listeners registered with run-code appear in console output instead of terminating the session. (microsoft/playwright#43770, microsoft/playwright#43686)
  • fix(mcp): report one-based console source lines — playwright-cli console reports line numbers that match editors and DevTools. (microsoft/playwright-mcp#1839, microsoft/playwright#43975)
  • fix(extension): report lost tab instead of crashing — losing the last controlled tab produces an actionable error instead of an undefined-property exception, with guidance when another extension's frame may have caused debugger detachment. (microsoft/playwright#43230, microsoft/playwright#43863)
  • fix(chromium): honor Linux config directories for channel connections — browser discovery and attachment respect CHROME_CONFIG_HOME and XDG_CONFIG_HOME; CDP connections also use the WebSocket path recorded by Chrome instead of failing with a 404. (microsoft/playwright#43880, microsoft/playwright#43884)
  • fix(chromium): preserve fonts when connecting with noDefaults — attaching to an existing headless browser preserves its font settings and page layout. (microsoft/playwright#43715, microsoft/playwright#43773)
  • fix(chromium): preserve HTTP navigations across HTTPS upgrade modes — explicit HTTP URLs and HTTP route mocks stay on HTTP instead of being unexpectedly upgraded or failing in Chromium, Chrome and Edge. (microsoft/playwright#43871, microsoft/playwright#43877)
  • fix(screenshot): support full-page SVG documents — playwright-cli screenshot --full-page captures standalone SVG documents instead of timing out. (microsoft/playwright#43962, microsoft/playwright#43972)
  • feat(actionability): wait for elements to be non-inert — clicks, fills and option selection wait for inert subtrees to become interactive. Inert elements and content outside modal dialogs remain available in snapshots and role locators. (microsoft/playwright#43792, microsoft/playwright#43850, microsoft/playwright#43851)
  • fix(selectors): support labels for form-associated custom elements — label locators and accessible names recognize labels associated with custom form controls. (microsoft/playwright#43898, microsoft/playwright#43900)
  • fix(aria): match mixed-case selected options in accessible names — embedded comboboxes contribute their selected option's name even with values such as aria-selected="True". (microsoft/playwright#43785, microsoft/playwright#43787)
  • fix(selector generator): do not throw when css fallback path is not unique — ambiguous matches in slotted web components report a useful strict-mode error instead of a TypeError. (microsoft/playwright#43701, microsoft/playwright#43705)
  • fix(frames): reject context waits when page closes — pending operations on an iframe whose document has not loaded fail when its page closes instead of waiting indefinitely. (microsoft/playwright#43647, microsoft/playwright#43650)
  • fix(install): report missing dependencies for all browsers — playwright-cli install-browser reports missing Linux dependencies across browsers in one pass, including package names for Vulkan and Graphene. (microsoft/playwright#43747, microsoft/playwright#43750)

📦 Upgrading

npm install -g @playwright/cli@0.1.24

v0.1.23

Compare Source

✨ Highlights

  • 👥 Use different signed-in users in one session — playwright-cli tab-new https://example.com --isolated-context=user-b opens a tab with separate cookies and storage. Tabs with the same context name share their login state; different names stay isolated. (microsoft/playwright#43087)
  • 🎬 Smaller video recordings with less encoding CPU — playwright-cli video-start demo.webm now records with VP9, keeping the same WebM output format. Stop and save the recording with playwright-cli video-stop. (microsoft/playwright#43021)
  • 📋 Keep console messages and requests across navigations (#​479) — playwright-cli console --all and playwright-cli requests --all include retained entries from earlier navigations, so warnings and failed requests are not lost when checking a multi-page flow. Request numbers stay stable for playwright-cli request 5. (microsoft/playwright#43526)
  • 🔎 Keep common searches from flooding the agent's context (microsoft/playwright#42077) — playwright-cli find button --max-results=5 returns at most five matching items and reports the total match count. (microsoft/playwright#42947)
  • 🍪 Delete one site's cookie without signing out of others (microsoft/playwright#43310) — playwright-cli cookie-delete session_id --domain=example.com --path=/ removes only the cookie matching that name, domain and path, leaving same-named cookies elsewhere intact. (microsoft/playwright#43319)
  • 🔒 Redact session tokens in URLs printed in responses (microsoft/playwright-mcp#1791) — add "redactUrlParams": ["access_token", "code"] to .playwright/cli.config.json to replace those query and fragment parameter values with <redacted> in command responses. (microsoft/playwright#43258)

🐛 Fixes

📦 Upgrading

npm install -g @playwright/cli@0.1.23

This release uses Playwright 1.65.0-alpha-2026-10-30.

v0.1.22

Compare Source

Bug Fixes

v0.1.21

Compare Source

✨ Highlights

  • 🎬 Smooth 60 fps, styleable videos — video-start --fps=60 records smooth 60 fps videos instead of the default 25, and video-start --cursor renders an animated mouse cursor that travels to each action point and stays visible between actions. video-show-actions takes --point-style, --highlight-style and --title-style CSS declarations; the action point marker and the target highlight are now only shown when styled. (microsoft/playwright#42752, microsoft/playwright#42758)
  • 🧰 WebMCP tools show up in the snapshot — the tools a page registers are listed at the top of the page snapshot with their descriptions and input schemas, so webmcp-call can be used without running webmcp-list first. Set webmcp: false in the config file (env PLAYWRIGHT_MCP_WEBMCP=false) to stop collecting page-registered tools. (microsoft/playwright#42671)
  • 🌗 Switch between light and dark color scheme (microsoft/playwright#42243) — an agent working on a dark theme had no way to see it mid-session. New set-color-scheme, set-reduced-motion, set-forced-colors, set-contrast and set-media commands emulate media features on the fly, and the matching clear-* commands reset them. (microsoft/playwright#42668)
  • 📁 Absolute paths in results (microsoft/playwright#42497) — links to snapshots, screenshots, console logs and downloads are relative to the working directory, which a consumer without one cannot resolve. Set filePaths: "absolute" in the config file (env PLAYWRIGHT_MCP_FILE_PATHS=absolute) to get absolute paths instead. (microsoft/playwright#42673)

🐛 Fixes

  • fix(chromium): bypass service workers on the storage state page — state-save no longer runs the site's own scripts, or fails when they redirect, for origins with an active service worker (microsoft/playwright#42656). (#​42664, #​42741)
  • fix(mcp): keep upload modal, skip short secrets and bad headers — a failed upload keeps the file chooser open so it can be retried, secrets shorter than 4 characters no longer rewrite the whole output with <secret> markers, and route ignores header lines that have no name. (#​42713)

📦 Upgrading

npm install -g @playwright/cli@0.1.21

v0.1.20

Compare Source

What's New

🎉 New Commands
  • webmcp-list / webmcp-call — List and call the tools a page registers through the WebMCP API, letting the page do the work instead of driving its UI. When a page has WebMCP tools, the page status reports how many are available (#​42613). WebMCP is experimental, see WebMCP in Chrome for how to enable it.
Other Changes
  • Headless sessions now shut down after one hour without commands, so a session an agent never closed no longer holds a browser; run open again to start a new one. Use open --idle-timeout <ms> (config timeouts.idle, env PLAYWRIGHT_MCP_IDLE_TIMEOUT) to change the timeout, 0 disables it. Headed browsers stay open, and attached browsers are only detached when attach --idle-timeout <ms> is set (#​42676)
  • The skill includes a guide for attaching screenshots and videos to pull requests with gh --attach (#​42645)

Bug Fixes

  • Session daemons exit when their control socket is deleted or replaced, instead of staying alive with the browser (#​42454)
  • Explicitly named output files in a nested directory (e.g. screenshot --filename=sub/shot.png) no longer fail with ENOENT (#​42540)
  • Video chapters and screencast overlays are no longer hidden behind open dialogs and popovers (#​42642)
  • npx playwright test --debug=cli works for tests that create more than one browser context and for every test in a worker, not just the first (#​42503)
  • With PLAYWRIGHT_MCP_EXTENSION_TOKEN set, attach --extension fails after 30 seconds with a hint when the extension never connects (e.g. the token belongs to another Chrome profile) instead of hanging forever (#​42525)
  • Disable the Chromium sandbox by default on Linux for the bundled Chromium build, which lacks the setuid sandbox helper (#​42490)

Upgrading

npm install -g @playwright/cli@0.1.20

v0.1.19

Compare Source

What's New

New Commands
  • recording-start / recording-stop — Record actions that the user performs manually in the browser and return them as Playwright code. Useful when the user wants to demonstrate a flow instead of describing it (#​42359)

Bug Fixes

  • The update check result is cached again, so commands no longer pay a network round-trip to the npm registry on every invocation (#​454)
  • The installed-skill check honors NO_UPDATE_NOTIFIER / CI and runs at most once a day (#​447)
  • Negative positional arguments (e.g. mousewheel scroll-up deltas) are no longer parsed as flags (#​42333)
  • The session daemon no longer opens a console window on Windows (#​42155)
  • Long workspace paths no longer truncate the daemon socket path, which left sessions stuck with EADDRINUSE (#​42185)
  • install --skills adds .playwright-cli/ to .gitignore, since traces there can contain credentials (#​42318)
  • The hint printed after attach shows -s instead of --s (#​42138)
  • screenshot returns the original screenshot bytes instead of silently downscaling them to model-specific limits (#​42406)
  • Drop the cached browser backend after close with a shared browser context, so subsequent commands no longer fail (#​42365)
  • Tracing can be restarted after a failed tracing-stop instead of permanently producing broken archives (#​42425)
  • The default codegen language is inferred from the environment (#​42150)
  • Do not clobber the chromiumSandbox setting from the config file (#​42288)
  • Honor --user-data-dir in extension mode (#​42190)
  • Do not treat orphaned browser preferences entries as an installed extension (#​42224)
  • state-save / state-load no longer hang when the state contains IndexedDB and a page on that origin is open (#​42260)

v0.1.18

Compare Source

Highlights

Fixes

v0.1.17

Compare Source

Fixes

  • goto no longer crashes the browser session on privileged pages (#​433) — navigating to pages like chrome://extensions/ or chrome://settings/ used to throw TypeError: Cannot read properties of undefined (reading 'url') and take down the whole session. (microsoft/playwright#41675)
  • fix(mcp): await init page before screenshot — screenshots taken right after open no longer race the page init. (microsoft/playwright#41646)
  • fix(mcp): preserve directory for additional tab videos — videos for extra tabs are saved to the configured output directory. (microsoft/playwright#41680)
  • feat(mcp): always pass noDefaults for CDP connections — attaching over CDP no longer applies unwanted default context options. (microsoft/playwright#41676)

v0.1.16

Compare Source

Highlights

  • Search a large snapshot instead of capturing the whole thing — the new find command searches the page snapshot for text or a regexp and returns just the matching nodes with surrounding context (like grep -C), keeping big pages out of the model context. (microsoft/playwright#41605, microsoft/playwright#41654)
  • Mobile emulation — open --mobile emulates a generic mobile device (Pixel for Chromium, iPhone for WebKit) and --device="iPhone 15" targets a specific one; mobile pages are usually lighter, so snapshots are smaller and cheaper. (microsoft/playwright#41657)
  • Leaner snapshots — AI snapshots are distilled to be less verbose, cutting token cost on every command that returns page state. (microsoft/playwright#41604)
  • Local invocation via npx playwright cli — the CLI is now exposed as playwright cli (and playwright mcp), so a locally installed Playwright can drive it without a separate global install. (microsoft/playwright#41577)

Fixes

  • feat(mcp): surface non-2xx navigation status — navigation now reports the HTTP status instead of silently succeeding on error responses. (microsoft/playwright#41589)
  • fix(mcp): enable the chromium sandbox for the default browser — the default Chromium browser now runs sandboxed. (microsoft/playwright#41652)
  • fix(routing): normalize literal glob components through new URL() — route patterns with literal glob characters now match reliably. (microsoft/playwright#41682)
  • fix(mcp): close isolated HTTP client context on disconnect — isolated sessions release their context cleanly on disconnect. (microsoft/playwright#41560)

v0.1.15

Compare Source

Highlights

  • High resolution screenshots (#​376) — playwright-cli screenshot --hires captures at the device's full pixel ratio instead of downscaling to CSS pixels. (microsoft/playwright#41465)
  • Secrets filtered from console logs (#​41509) — configured secret values are now redacted in captured console log artifacts. (microsoft/playwright#41515)

Heads up

  • The CLI now checks for updates — on startup it notifies you when a newer @playwright/cli is available on npm. (#​426)
  • The CLI now warns when your installed skill is out of date — if the bundled Playwright skill is newer than the one installed in your workspace, you'll be prompted to reinstall it. Re-run playwright-cli install --skills to update. (#​427)

Fixes

  • fix(mcp): pass action timeout to browser_wait_for waitFor calls — wait_for now honors the configured action timeout instead of waiting indefinitely. (microsoft/playwright#41270)
  • fix(mcp): wait for next pause or context closure in browser_resume — resuming a paused session settles reliably. (microsoft/playwright#41293)
  • fix(mcp): assign caps as array for legacy --vision flag — the legacy --vision flag works again. (microsoft/playwright#41253)
  • fix(mcp): never include data: URL payloads in snapshot or network output — large data: URLs no longer flood snapshot and network output. (microsoft/playwright#41450)
  • fix(mcp): list a failed network request only once — failed requests are no longer duplicated in network output. (microsoft/playwright#41481)
  • fix(mcp): check tracing state before stopping in browser_stop_tracing — stopping tracing when it is not running no longer errors. (microsoft/playwright#41040)
  • fix(mcp): add missing .catch() on sessionLog write queue — a failed session-log write no longer crashes the session. (microsoft/playwright#41234)
    (microsoft/playwright#41382)

v0.1.14

Compare Source

Highlights

  • Annotate actions in recorded videos — new video-show-actions / video-hide-actions commands draw a callout naming each action and highlighting its target in the recording. (microsoft/playwright#40914)
  • exposeNetwork and other connect options for remote browsers — remoteEndpoint now accepts a full ConnectOptions object, so settings like exposeNetwork and headers apply to remote connections. (microsoft/playwright#40964)
  • Bounded output size — --output-max-size caps captured output and evicts to disk after the response, keeping large sessions manageable. (microsoft/playwright#41031)

Fixes

  • fix(cli): support attaching to a Playwright browser server endpoint (microsoft/playwright#41154) — playwright-cli attach --endpoint=<ws-url> connects to a running browser server instead of erroring out. (microsoft/playwright#41203)
  • fix(mcp): support moz-firefox BiDi channels via --browser — connect to Firefox over BiDi using --browser. (microsoft/playwright#41126)
  • fix(mcp): keep remoteHeaders working for remote browser endpoint — custom headers are sent again when connecting to a remote endpoint. (microsoft/playwright#41156, #​40828)
  • fix(cli): persist traces when CLI attaches to existing CDP browser — traces are now saved when attaching over CDP. (microsoft/playwright#40810)
  • fix(cli): accept single --modifiers value for click and dblclick — --modifiers=Shift works without requiring a list. (microsoft/playwright#40784)
  • fix(cli): trim overlong session names to fit unix socket path limit — long session names no longer break the daemon socket. (microsoft/playwright#40898)
  • fix(cli): do not pass PLAYWRIGHT_CLI_SESSION as daemon --endpoint — fixes spurious endpoint resolution from the session env var. (microsoft/playwright#41019)
  • fix(mcp): report missing ffmpeg distinctly from missing browser — clearer error when video recording fails due to a missing ffmpeg. (microsoft/playwright#40867)
  • fix(mcp): report invalid tool arguments — invalid arguments now produce a readable error instead of failing silently. (microsoft/playwright#40979)
  • fix(mcp): use writable cache dir for MCP user data, not browsers path — avoids permission errors on read-only browser installs. (microsoft/playwright#40961)
  • fix(mcp): use waitUntil commit for navigate back/forward — back/forward navigation resolves more reliably. (microsoft/playwright#41153)
  • fix(mcp): tear down dashboard server on cli show --kill — cli show --kill fully stops the dashboard. (microsoft/playwright#40968)
  • fix(tracing): mkdir tracesDir before live .stacks writes — fixes a crash when the traces directory does not yet exist. (microsoft/playwright#40730)
  • docs(cli): document & URL escaping on Windows — guidance on escaping & in URLs on cmd.exe and PowerShell. (microsoft/playwright#40742)

Upgrading

npm install -g @playwright/cli@0.1.14

Configuration

📅 Schedule: (in timezone Europe/London)

  • Branch creation
    • "before 5am on Monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@playwright/cli](https://playwright.dev) ([source](https://github.com/microsoft/playwright-cli)) | [`0.1.13` → `0.1.25`](https://renovatebot.com/diffs/npm/@playwright%2fcli/0.1.13/0.1.25) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@playwright%2fcli/0.1.25?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@playwright%2fcli/0.1.13/0.1.25?slim=true) | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/2) for more information. --- ### Release Notes <details> <summary>microsoft/playwright-cli (@&#8203;playwright/cli)</summary> ### [`v0.1.25`](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.25) [Compare Source](https://github.com/microsoft/playwright-cli/compare/v0.1.24...v0.1.25) #### ✨ Highlights - **🗂️ Identify and resume your extension sessions** ([#&#8203;496](https://github.com/microsoft/playwright-cli/issues/496)) — `playwright-cli attach --extension=chrome --session=docs-review --session-color=blue` labels the tab group with your session name instead of a truncated product name. Disconnected groups remain available to select on the next connection. Use `--no-tab-group` to leave your existing tab organization alone. ([microsoft/playwright#44047](https://github.com/microsoft/playwright/pull/44047)) - **🧹 Close an agent's tabs when its work is done** — `playwright-cli -s=docs-review detach --close-tabs` closes that extension session's tabs before disconnecting. Plain `detach` still leaves the tabs open for later. ([microsoft/playwright#44084](https://github.com/microsoft/playwright/pull/44084)) - **🖥️ Install stable Chrome on Linux ARM64** ([microsoft/playwright#43998](https://github.com/microsoft/playwright/issues/43998)) — `playwright-cli install-browser chrome` now installs Google's ARM64 Debian package instead of rejecting the architecture. ([microsoft/playwright#44020](https://github.com/microsoft/playwright/pull/44020)) #### 🐛 Fixes - `fix(server): do not reveal the endpoint path over HTTP` — attaching to a Playwright browser server with `--endpoint` now requires its full `ws://` or `wss://` endpoint, including the path; HTTP endpoint discovery has been removed. HTTP URLs for `--cdp` are unaffected. ([microsoft/playwright#44190](https://github.com/microsoft/playwright/pull/44190)) - `fix(mcp): do not wait for busy pages longer than 10s when connecting over CDP` — a busy existing tab no longer blocks `playwright-cli attach --cdp=http://localhost:9222` indefinitely. Pages that cannot initialize within 10 seconds are made available later when they respond. ([microsoft/playwright#44052](https://github.com/microsoft/playwright/issues/44052), [microsoft/playwright#44105](https://github.com/microsoft/playwright/pull/44105)) - `fix(cli): suggest matching ffmpeg installer for video recording` — when `video-start` needs ffmpeg, its error now recommends `playwright-cli install-browser ffmpeg`, which installs the revision used by the CLI. ([#&#8203;540](https://github.com/microsoft/playwright-cli/issues/540), [microsoft/playwright#44088](https://github.com/microsoft/playwright/pull/44088)) - `fix(mcp): validate run-code input` — `playwright-cli run-code` without code or `--filename` reports a clear input error instead of an internal `TypeError`. ([microsoft/playwright#44080](https://github.com/microsoft/playwright/issues/44080), [microsoft/playwright#44087](https://github.com/microsoft/playwright/pull/44087)) - `fix(locator): select among visible elements in first/last/nth with locateOnlyVisible` — with `browser.contextOptions.locateOnlyVisible` enabled, locators used in `run-code` apply `first()`, `last()` and `nth()` to visible matches instead of selecting a hidden element and finding nothing. Explicit visibility filters still take precedence. ([microsoft/playwright#43855](https://github.com/microsoft/playwright/issues/43855), [microsoft/playwright#44083](https://github.com/microsoft/playwright/pull/44083)) - `fix(chromium): apply timezone to service workers` — Chromium service workers honor `browser.contextOptions.timezoneId` from their first statement, keeping date handling consistent with pages. ([microsoft/playwright#43983](https://github.com/microsoft/playwright/issues/43983), [microsoft/playwright#44021](https://github.com/microsoft/playwright/pull/44021)) - `fix(tracing): hold dropped screencast frames while throttling` — recording with `playwright-cli tracing-start` uses less browser CPU on idle animated pages without changing the frames kept in the trace. ([microsoft/playwright#44053](https://github.com/microsoft/playwright/issues/44053), [microsoft/playwright#44068](https://github.com/microsoft/playwright/pull/44068)) - `fix(trace-viewer): harden snapshot rendering` — Trace Viewer blocks navigation and form submission from recorded snapshots. Trace-file routes also reject frame navigations, and its server checks WebSocket origins. ([microsoft/playwright#44177](https://github.com/microsoft/playwright/pull/44177), [microsoft/playwright#44178](https://github.com/microsoft/playwright/pull/44178)) #### 📦 Upgrading Node.js 20 or newer is required. ```bash npm install -g @playwright/cli@0.1.25 ``` ### [`v0.1.24`](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.24) [Compare Source](https://github.com/microsoft/playwright-cli/compare/v0.1.23...v0.1.24) #### ✨ Highlights - **🪟 Let agents use your logged-in browser without taking over your screen** ([microsoft/playwright#42973](https://github.com/microsoft/playwright/issues/42973)) — `PLAYWRIGHT_MCP_BACKGROUND=1 playwright-cli attach --extension=chrome` keeps controlled tabs and the browser window in the background. You can also set `"background": true` in your CLI config. ([microsoft/playwright#43864](https://github.com/microsoft/playwright/pull/43864)) - **🎬 Record the whole viewport in headless Chrome and Edge** — `playwright-cli video-start` no longer loses the bottom of the page to browser-toolbar sizing in the new headless mode. Trace screenshots benefit too. ([microsoft/playwright#43904](https://github.com/microsoft/playwright/pull/43904)) - **🧭 Snapshots keep the names agents need** ([microsoft/playwright#43809](https://github.com/microsoft/playwright/issues/43809)) — `playwright-cli snapshot` preserves identifying names on dialogs, landmarks, tables and column headers, even when their heading or caption also appears below them. ([microsoft/playwright#43810](https://github.com/microsoft/playwright/pull/43810)) - **👁️ Ignore hidden duplicate elements by default** ([microsoft/playwright#43855](https://github.com/microsoft/playwright/issues/43855)) — set `"browser": { "contextOptions": { "locateOnlyVisible": true } }` in your CLI config, then run `playwright-cli open --config=cli.config.json`. Locators resolve only visible matches, avoiding strict-mode failures from hidden, cached UI. This is opt-in. ([microsoft/playwright#43903](https://github.com/microsoft/playwright/pull/43903)) - **🗂️ Keep your tab strip free of agent-created groups** ([microsoft/playwright#43038](https://github.com/microsoft/playwright/issues/43038)) — set `"tabGroup": false` in your CLI config and use `playwright-cli attach --extension=chrome --config=cli.config.json`. Extension sessions can control tabs without creating a Chrome tab group or changing your existing groups. ([microsoft/playwright#43814](https://github.com/microsoft/playwright/pull/43814)) #### 🐛 Fixes - `fix(cli): use ordinal filenames for repeated downloads` — repeated downloads of `report.csv` become `report-1.csv`, `report-2.csv`, and so on instead of silently overwriting earlier files. ([#&#8203;514](https://github.com/microsoft/playwright-cli/issues/514), [microsoft/playwright#44011](https://github.com/microsoft/playwright/pull/44011)) - `fix(cli): restrict profile deletion to the exact session` — `playwright-cli -s=work delete-data` no longer deletes the persistent profile of `work-test`. ([#&#8203;499](https://github.com/microsoft/playwright-cli/issues/499), [microsoft/playwright#43928](https://github.com/microsoft/playwright/pull/43928)) - `fix(cli): report command failures in text and JSON modes` — invalid arguments and startup failures produce a readable error, or an `{ "isError": true, "error": "..." }` object with `--json`, and exit with code 1 instead of exposing an unhandled rejection. ([#&#8203;502](https://github.com/microsoft/playwright-cli/issues/502), [#&#8203;522](https://github.com/microsoft/playwright-cli/pull/522)) - `fix(cli): use CLI command names in error messages` — validation errors and recovery hints name commands you can actually run, such as `requests` and `recording-start`, rather than MCP tools, and avoid doubled `Error:` prefixes. ([#&#8203;515](https://github.com/microsoft/playwright-cli/issues/515), [microsoft/playwright#43932](https://github.com/microsoft/playwright/pull/43932)) - `fix(cli): avoid killing Windows process enumerators` — `playwright-cli kill-all` correctly reports the daemons it stopped on Windows instead of saying none were found. ([#&#8203;525](https://github.com/microsoft/playwright-cli/issues/525), [microsoft/playwright#44008](https://github.com/microsoft/playwright/pull/44008)) - `fix(mcp): preserve non-JSON evaluation results` — `playwright-cli eval '() => 10n'`, circular objects, regular expressions and special numeric values are represented without turning successful evaluations into serialization errors or losing their values. JSON-compatible results retain their existing format. ([microsoft/playwright-mcp#1838](https://github.com/microsoft/playwright-mcp/issues/1838), [microsoft/playwright#43973](https://github.com/microsoft/playwright/pull/43973)) - `fix(mcp): resolve config file paths relative to their source` — relative profile, storage-state, executable and output paths now resolve next to the config file, including `.playwright/cli.config.json` and `~/.playwright/cli.config.json`, rather than the working directory. Paths supplied through flags or environment variables remain relative to the working directory. ([microsoft/playwright-mcp#1836](https://github.com/microsoft/playwright-mcp/issues/1836), [microsoft/playwright#43970](https://github.com/microsoft/playwright/pull/43970)) - `fix(mcp): validate device names and preserve device descriptors` — an unknown `--device` reports a clear error instead of silently disabling emulation; context overrides no longer mutate shared device presets. ([microsoft/playwright-mcp#1834](https://github.com/microsoft/playwright-mcp/issues/1834), [microsoft/playwright#43971](https://github.com/microsoft/playwright/pull/43971)) - `fix(mcp): bound settle waits when page timers cannot run` — commands such as `eval` and `click` no longer hang during their post-action wait on CSP-sandboxed pages or pages with paused clocks. ([microsoft/playwright#43752](https://github.com/microsoft/playwright/issues/43752), [microsoft/playwright#43767](https://github.com/microsoft/playwright/pull/43767)) - `fix(mcp): report event listener exceptions as console errors` — exceptions in page or context listeners registered with `run-code` appear in console output instead of terminating the session. ([microsoft/playwright#43770](https://github.com/microsoft/playwright/issues/43770), [microsoft/playwright#43686](https://github.com/microsoft/playwright/pull/43686)) - `fix(mcp): report one-based console source lines` — `playwright-cli console` reports line numbers that match editors and DevTools. ([microsoft/playwright-mcp#1839](https://github.com/microsoft/playwright-mcp/issues/1839), [microsoft/playwright#43975](https://github.com/microsoft/playwright/pull/43975)) - `fix(extension): report lost tab instead of crashing` — losing the last controlled tab produces an actionable error instead of an undefined-property exception, with guidance when another extension's frame may have caused debugger detachment. ([microsoft/playwright#43230](https://github.com/microsoft/playwright/issues/43230), [microsoft/playwright#43863](https://github.com/microsoft/playwright/pull/43863)) - `fix(chromium): honor Linux config directories for channel connections` — browser discovery and attachment respect `CHROME_CONFIG_HOME` and `XDG_CONFIG_HOME`; CDP connections also use the WebSocket path recorded by Chrome instead of failing with a 404. ([microsoft/playwright#43880](https://github.com/microsoft/playwright/issues/43880), [microsoft/playwright#43884](https://github.com/microsoft/playwright/pull/43884)) - `fix(chromium): preserve fonts when connecting with noDefaults` — attaching to an existing headless browser preserves its font settings and page layout. ([microsoft/playwright#43715](https://github.com/microsoft/playwright/issues/43715), [microsoft/playwright#43773](https://github.com/microsoft/playwright/pull/43773)) - `fix(chromium): preserve HTTP navigations across HTTPS upgrade modes` — explicit HTTP URLs and HTTP route mocks stay on HTTP instead of being unexpectedly upgraded or failing in Chromium, Chrome and Edge. ([microsoft/playwright#43871](https://github.com/microsoft/playwright/issues/43871), [microsoft/playwright#43877](https://github.com/microsoft/playwright/pull/43877)) - `fix(screenshot): support full-page SVG documents` — `playwright-cli screenshot --full-page` captures standalone SVG documents instead of timing out. ([microsoft/playwright#43962](https://github.com/microsoft/playwright/issues/43962), [microsoft/playwright#43972](https://github.com/microsoft/playwright/pull/43972)) - `feat(actionability): wait for elements to be non-inert` — clicks, fills and option selection wait for inert subtrees to become interactive. Inert elements and content outside modal dialogs remain available in snapshots and role locators. ([microsoft/playwright#43792](https://github.com/microsoft/playwright/issues/43792), [microsoft/playwright#43850](https://github.com/microsoft/playwright/pull/43850), [microsoft/playwright#43851](https://github.com/microsoft/playwright/pull/43851)) - `fix(selectors): support labels for form-associated custom elements` — label locators and accessible names recognize labels associated with custom form controls. ([microsoft/playwright#43898](https://github.com/microsoft/playwright/issues/43898), [microsoft/playwright#43900](https://github.com/microsoft/playwright/pull/43900)) - `fix(aria): match mixed-case selected options in accessible names` — embedded comboboxes contribute their selected option's name even with values such as `aria-selected="True"`. ([microsoft/playwright#43785](https://github.com/microsoft/playwright/issues/43785), [microsoft/playwright#43787](https://github.com/microsoft/playwright/pull/43787)) - `fix(selector generator): do not throw when css fallback path is not unique` — ambiguous matches in slotted web components report a useful strict-mode error instead of a `TypeError`. ([microsoft/playwright#43701](https://github.com/microsoft/playwright/issues/43701), [microsoft/playwright#43705](https://github.com/microsoft/playwright/pull/43705)) - `fix(frames): reject context waits when page closes` — pending operations on an iframe whose document has not loaded fail when its page closes instead of waiting indefinitely. ([microsoft/playwright#43647](https://github.com/microsoft/playwright/issues/43647), [microsoft/playwright#43650](https://github.com/microsoft/playwright/pull/43650)) - `fix(install): report missing dependencies for all browsers` — `playwright-cli install-browser` reports missing Linux dependencies across browsers in one pass, including package names for Vulkan and Graphene. ([microsoft/playwright#43747](https://github.com/microsoft/playwright/issues/43747), [microsoft/playwright#43750](https://github.com/microsoft/playwright/pull/43750)) #### 📦 Upgrading ```bash npm install -g @playwright/cli@0.1.24 ``` ### [`v0.1.23`](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.23) [Compare Source](https://github.com/microsoft/playwright-cli/compare/v0.1.22...v0.1.23) #### ✨ Highlights - **👥 Use different signed-in users in one session** — `playwright-cli tab-new https://example.com --isolated-context=user-b` opens a tab with separate cookies and storage. Tabs with the same context name share their login state; different names stay isolated. ([microsoft/playwright#43087](https://github.com/microsoft/playwright/pull/43087)) - **🎬 Smaller video recordings with less encoding CPU** — `playwright-cli video-start demo.webm` now records with VP9, keeping the same WebM output format. Stop and save the recording with `playwright-cli video-stop`. ([microsoft/playwright#43021](https://github.com/microsoft/playwright/pull/43021)) - **📋 Keep console messages and requests across navigations** ([#&#8203;479](https://github.com/microsoft/playwright-cli/issues/479)) — `playwright-cli console --all` and `playwright-cli requests --all` include retained entries from earlier navigations, so warnings and failed requests are not lost when checking a multi-page flow. Request numbers stay stable for `playwright-cli request 5`. ([microsoft/playwright#43526](https://github.com/microsoft/playwright/pull/43526)) - **🔎 Keep common searches from flooding the agent's context** ([microsoft/playwright#42077](https://github.com/microsoft/playwright/issues/42077)) — `playwright-cli find button --max-results=5` returns at most five matching items and reports the total match count. ([microsoft/playwright#42947](https://github.com/microsoft/playwright/pull/42947)) - **🍪 Delete one site's cookie without signing out of others** ([microsoft/playwright#43310](https://github.com/microsoft/playwright/issues/43310)) — `playwright-cli cookie-delete session_id --domain=example.com --path=/` removes only the cookie matching that name, domain and path, leaving same-named cookies elsewhere intact. ([microsoft/playwright#43319](https://github.com/microsoft/playwright/pull/43319)) - **🔒 Redact session tokens in URLs printed in responses** ([microsoft/playwright-mcp#1791](https://github.com/microsoft/playwright-mcp/issues/1791)) — add `"redactUrlParams": ["access_token", "code"]` to `.playwright/cli.config.json` to replace those query and fragment parameter values with `<redacted>` in command responses. ([microsoft/playwright#43258](https://github.com/microsoft/playwright/pull/43258)) #### 🐛 Fixes - `fix(cli): do not force-kill the browser on close` — `playwright-cli close` lets Chrome shut down normally, preventing temporary app-clone folders from accumulating on macOS. ([#&#8203;475](https://github.com/microsoft/playwright-cli/issues/475), [microsoft/playwright#43229](https://github.com/microsoft/playwright/pull/43229)) - `fix(cli): respect npm registry config in update check` — update checks honor npm's registry, scoped registry, proxy and authentication settings instead of contacting the public registry directly when a custom registry is configured. ([#&#8203;478](https://github.com/microsoft/playwright-cli/issues/478), [#&#8203;484](https://github.com/microsoft/playwright-cli/pull/484)) - `fix(cli): report run-code route handler exception once and verbatim` — asynchronous route callback errors return their original message without duplicated errors or an extra `Error:` prefix. ([#&#8203;476](https://github.com/microsoft/playwright-cli/issues/476), [microsoft/playwright#43203](https://github.com/microsoft/playwright/pull/43203)) - `fix(chromium): do not hang on pages without a renderer when connecting over CDP` — `attach --cdp` handles discarded or crashed tabs without wedging every command; a follow-up closes those tabs while preserving live ones. ([microsoft/playwright#41714](https://github.com/microsoft/playwright/issues/41714), [microsoft/playwright#42936](https://github.com/microsoft/playwright/pull/42936), [microsoft/playwright#43075](https://github.com/microsoft/playwright/pull/43075)) - `fix(chromium): report local frames of existing oopifs when connecting over CDP` — attaching to an already-loaded page discovers nested frames correctly instead of replacing the main document with a sandboxed iframe. ([microsoft/playwright#42955](https://github.com/microsoft/playwright/issues/42955), [microsoft/playwright#43000](https://github.com/microsoft/playwright/pull/43000)) - `fix(mcp): report invalid element targets and accept locators in any language` — action targets accept JavaScript, Python, Java and C# locators. Invalid targets explain the accepted forms, including how to pass a bare snapshot ref. ([microsoft/playwright-mcp#1797](https://github.com/microsoft/playwright-mcp/issues/1797), [microsoft/playwright#43539](https://github.com/microsoft/playwright/pull/43539)) - `fix(mcp): normalize bare host URLs and loopback IP addresses` — `playwright-cli open 127.0.0.1:3000` uses HTTP, and bare external hosts with ports are normalized to HTTPS rather than mistaken for custom schemes. ([microsoft/playwright#43263](https://github.com/microsoft/playwright/issues/43263), [microsoft/playwright#43264](https://github.com/microsoft/playwright/pull/43264)) - `fix(mcp): race browser_navigate_back and forward against modal states` — `go-back` and `go-forward` surface navigation dialogs immediately so they can be handled, rather than hanging until timeout. ([microsoft/playwright#43251](https://github.com/microsoft/playwright/issues/43251), [microsoft/playwright#43252](https://github.com/microsoft/playwright/pull/43252)) - `fix(mcp): preserve origin filters when modifying request headers` — header-only `route` handlers no longer skip configured allowed/blocked-origin filters. ([microsoft/playwright#43630](https://github.com/microsoft/playwright/issues/43630), [microsoft/playwright#43637](https://github.com/microsoft/playwright/pull/43637)) - `fix(mcp): pass custom headers to route.fulfill when mocking response` — mocked `route` responses retain supplied headers, including CORS and cache headers. ([microsoft/playwright#43245](https://github.com/microsoft/playwright/issues/43245), [microsoft/playwright#43244](https://github.com/microsoft/playwright/pull/43244)) - `fix(mcp): match browser_route header names case-insensitively` — request-header replacement and removal work consistently regardless of header-name casing. ([microsoft/playwright#43215](https://github.com/microsoft/playwright/issues/43215), [microsoft/playwright#43227](https://github.com/microsoft/playwright/pull/43227)) - `fix(mcp): match cookie list domain filter on domain boundaries` — `cookie-list --domain=example.com` includes that domain and its subdomains, not unrelated names such as `my-example.com`; matching ignores case and a leading dot. ([microsoft/playwright#43308](https://github.com/microsoft/playwright/issues/43308), [microsoft/playwright#43316](https://github.com/microsoft/playwright/pull/43316)) - `fix(mcp): do not match sibling paths in cookie-list path filter` — `cookie-list --path=/api` includes `/api` and paths under `/api/`, not `/apikeys`. ([microsoft/playwright#43366](https://github.com/microsoft/playwright/issues/43366), [microsoft/playwright#43368](https://github.com/microsoft/playwright/pull/43368)) - `fix(mcp): ask for a cookie domain when the page has no host` — `cookie-set` on `about:blank` or a data URL asks for `--domain` instead of returning an internal assertion error. ([microsoft/playwright#43309](https://github.com/microsoft/playwright/issues/43309), [microsoft/playwright#43318](https://github.com/microsoft/playwright/pull/43318)) - `fix(mcp): pass credentials from --proxy-server as proxy username/password` — authenticated proxy URLs supplied through `PLAYWRIGHT_MCP_PROXY_SERVER` retain their credentials instead of failing proxy authentication. ([microsoft/playwright#43048](https://github.com/microsoft/playwright/issues/43048), [microsoft/playwright#43071](https://github.com/microsoft/playwright/pull/43071)) - `fix(mcp): accept Windows paths in browser_resume location` — `pause-at` accepts Windows source locations such as `C:\tests\example.spec.ts:42`. ([microsoft/playwright#43340](https://github.com/microsoft/playwright/issues/43340), [microsoft/playwright#43349](https://github.com/microsoft/playwright/pull/43349)) - `fix(video): hide ffmpeg console windows on Windows` — `video-start` no longer opens a terminal window that steals focus during background recording. ([microsoft/playwright#43515](https://github.com/microsoft/playwright/issues/43515), [microsoft/playwright#43575](https://github.com/microsoft/playwright/pull/43575)) - `feat(cli): keep sockets in XDG_RUNTIME_DIR` — Unix CLI sessions and the dashboard prefer `$XDG_RUNTIME_DIR/playwright` over the shared temporary directory when it is usable. ([microsoft/playwright#43698](https://github.com/microsoft/playwright/issues/43698), [microsoft/playwright#43732](https://github.com/microsoft/playwright/pull/43732)) - `fix(tracing): do not store secrets in trace context options` — trace metadata no longer copies credential-bearing context options such as HTTP credentials, proxy credentials, extra headers and storage-state cookies. ([microsoft/playwright#38673](https://github.com/microsoft/playwright/issues/38673), [microsoft/playwright#43220](https://github.com/microsoft/playwright/pull/43220)) - `fix(aria): preserve iframe snapshots with fallback text` — snapshots show a loaded iframe's content and element refs even when its HTML contains fallback text. ([microsoft/playwright#43628](https://github.com/microsoft/playwright/issues/43628), [microsoft/playwright#43635](https://github.com/microsoft/playwright/pull/43635)) - `fix(aria): quote ~, .inf and .nan in aria snapshots` — YAML-special text remains a string when snapshot output is parsed or reused. ([microsoft/playwright#43451](https://github.com/microsoft/playwright/issues/43451), [microsoft/playwright#43469](https://github.com/microsoft/playwright/pull/43469)) - `fix(a11y): treat inert elements and content outside of modal dialogs as hidden` — snapshots exclude controls that cannot currently be used, and click/fill actions wait for targets to stop being inert rather than silently misfiring. ([microsoft/playwright#36938](https://github.com/microsoft/playwright/issues/36938), [microsoft/playwright#42967](https://github.com/microsoft/playwright/issues/42967), [microsoft/playwright#43211](https://github.com/microsoft/playwright/pull/43211)) - `fix(webmcp): handle Chromium tool API changes` — WebMCP tool discovery tolerates Chromium's null input schemas while preserving the existing tool shape. ([microsoft/playwright#43578](https://github.com/microsoft/playwright/pull/43578)) #### 📦 Upgrading ```bash npm install -g @playwright/cli@0.1.23 ``` This release uses Playwright `1.65.0-alpha-2026-10-30`. ### [`v0.1.22`](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.22) [Compare Source](https://github.com/microsoft/playwright-cli/compare/v0.1.21...v0.1.22) #### Bug Fixes - `run-code` scripts can use timers, `fetch`, `URL`, `Buffer`, `crypto`, `AbortController` and `TextEncoder`/`TextDecoder`; `require` and `process` stay unavailable ([#&#8203;471](https://github.com/microsoft/playwright-cli/issues/471)). ([microsoft/playwright#42975](https://github.com/microsoft/playwright/pull/42975)) - `find --filename=results.md` saves matches to a file when a query produces too many of them ([microsoft/playwright#42077](https://github.com/microsoft/playwright/issues/42077)). ([microsoft/playwright#42968](https://github.com/microsoft/playwright/pull/42968)) - `goto` and `reload` report a dialog opened during page load instead of timing out ([microsoft/playwright#42817](https://github.com/microsoft/playwright/issues/42817)). ([microsoft/playwright#42908](https://github.com/microsoft/playwright/pull/42908)) - The session no longer crashes when the browser is closed during a download ([microsoft/playwright#42831](https://github.com/microsoft/playwright/issues/42831)). ([microsoft/playwright#42922](https://github.com/microsoft/playwright/pull/42922)) - `install-browser --no-shell` is accepted instead of failing with `Unknown option: --shell` ([microsoft/playwright#42804](https://github.com/microsoft/playwright/issues/42804)). ([microsoft/playwright#42871](https://github.com/microsoft/playwright/pull/42871)) - `webmcp-call` no longer runs a tool in a stale tab or frame ([microsoft/playwright#42816](https://github.com/microsoft/playwright/issues/42816)). ([microsoft/playwright#42821](https://github.com/microsoft/playwright/pull/42821)) - `webmcp-call` works with Chromium 155+. ([microsoft/playwright#42915](https://github.com/microsoft/playwright/pull/42915)) - Snapshots quote accessible names that look like regexes, e.g. `"/home/"` ([microsoft/playwright#42807](https://github.com/microsoft/playwright/issues/42807)). ([microsoft/playwright#42811](https://github.com/microsoft/playwright/pull/42811)) - The bundled skill only preapproves Playwright commands instead of any `npm` and `npx` command ([microsoft/playwright#42745](https://github.com/microsoft/playwright/issues/42745)). ([microsoft/playwright#42789](https://github.com/microsoft/playwright/pull/42789)) ### [`v0.1.21`](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.21) [Compare Source](https://github.com/microsoft/playwright-cli/compare/v0.1.20...v0.1.21) #### ✨ Highlights - **🎬 Smooth 60 fps, styleable videos** — `video-start --fps=60` records smooth 60 fps videos instead of the default 25, and `video-start --cursor` renders an animated mouse cursor that travels to each action point and stays visible between actions. `video-show-actions` takes `--point-style`, `--highlight-style` and `--title-style` CSS declarations; the action point marker and the target highlight are now only shown when styled. ([microsoft/playwright#42752](https://github.com/microsoft/playwright/pull/42752), [microsoft/playwright#42758](https://github.com/microsoft/playwright/pull/42758)) - **🧰 WebMCP tools show up in the snapshot** — the tools a page registers are listed at the top of the page snapshot with their descriptions and input schemas, so `webmcp-call` can be used without running `webmcp-list` first. Set `webmcp: false` in the config file (env `PLAYWRIGHT_MCP_WEBMCP=false`) to stop collecting page-registered tools. ([microsoft/playwright#42671](https://github.com/microsoft/playwright/pull/42671)) - **🌗 Switch between light and dark color scheme** ([microsoft/playwright#42243](https://github.com/microsoft/playwright/issues/42243)) — an agent working on a dark theme had no way to see it mid-session. New `set-color-scheme`, `set-reduced-motion`, `set-forced-colors`, `set-contrast` and `set-media` commands emulate media features on the fly, and the matching `clear-*` commands reset them. ([microsoft/playwright#42668](https://github.com/microsoft/playwright/pull/42668)) - **📁 Absolute paths in results** ([microsoft/playwright#42497](https://github.com/microsoft/playwright/issues/42497)) — links to snapshots, screenshots, console logs and downloads are relative to the working directory, which a consumer without one cannot resolve. Set `filePaths: "absolute"` in the config file (env `PLAYWRIGHT_MCP_FILE_PATHS=absolute`) to get absolute paths instead. ([microsoft/playwright#42673](https://github.com/microsoft/playwright/pull/42673)) #### 🐛 Fixes - `fix(chromium): bypass service workers on the storage state page` — `state-save` no longer runs the site's own scripts, or fails when they redirect, for origins with an active service worker ([microsoft/playwright#42656](https://github.com/microsoft/playwright/issues/42656)). ([#&#8203;42664](https://github.com/microsoft/playwright/pull/42664), [#&#8203;42741](https://github.com/microsoft/playwright/pull/42741)) - `fix(mcp): keep upload modal, skip short secrets and bad headers` — a failed `upload` keeps the file chooser open so it can be retried, secrets shorter than 4 characters no longer rewrite the whole output with `<secret>` markers, and `route` ignores header lines that have no name. ([#&#8203;42713](https://github.com/microsoft/playwright/pull/42713)) #### 📦 Upgrading ```bash npm install -g @playwright/cli@0.1.21 ``` ### [`v0.1.20`](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.20) [Compare Source](https://github.com/microsoft/playwright-cli/compare/v0.1.19...v0.1.20) #### What's New ##### 🎉 New Commands - **`webmcp-list` / `webmcp-call`** — List and call the tools a page registers through the [WebMCP](https://webmachinelearning.github.io/webmcp/) API, letting the page do the work instead of driving its UI. When a page has WebMCP tools, the page status reports how many are available ([#&#8203;42613](https://github.com/microsoft/playwright/pull/42613)). WebMCP is experimental, see [WebMCP in Chrome](https://developer.chrome.com/docs/ai/webmcp) for how to enable it. ##### Other Changes - Headless sessions now shut down after one hour without commands, so a session an agent never closed no longer holds a browser; run `open` again to start a new one. Use `open --idle-timeout <ms>` (config `timeouts.idle`, env `PLAYWRIGHT_MCP_IDLE_TIMEOUT`) to change the timeout, `0` disables it. Headed browsers stay open, and attached browsers are only detached when `attach --idle-timeout <ms>` is set ([#&#8203;42676](https://github.com/microsoft/playwright/pull/42676)) - The skill includes a guide for attaching screenshots and videos to pull requests with `gh --attach` ([#&#8203;42645](https://github.com/microsoft/playwright/pull/42645)) #### Bug Fixes - Session daemons exit when their control socket is deleted or replaced, instead of staying alive with the browser ([#&#8203;42454](https://github.com/microsoft/playwright/pull/42454)) - Explicitly named output files in a nested directory (e.g. `screenshot --filename=sub/shot.png`) no longer fail with `ENOENT` ([#&#8203;42540](https://github.com/microsoft/playwright/pull/42540)) - Video chapters and screencast overlays are no longer hidden behind open dialogs and popovers ([#&#8203;42642](https://github.com/microsoft/playwright/pull/42642)) - `npx playwright test --debug=cli` works for tests that create more than one browser context and for every test in a worker, not just the first ([#&#8203;42503](https://github.com/microsoft/playwright/pull/42503)) - With `PLAYWRIGHT_MCP_EXTENSION_TOKEN` set, `attach --extension` fails after 30 seconds with a hint when the extension never connects (e.g. the token belongs to another Chrome profile) instead of hanging forever ([#&#8203;42525](https://github.com/microsoft/playwright/pull/42525)) - Disable the Chromium sandbox by default on Linux for the bundled Chromium build, which lacks the setuid sandbox helper ([#&#8203;42490](https://github.com/microsoft/playwright/pull/42490)) #### Upgrading ```bash npm install -g @playwright/cli@0.1.20 ``` ### [`v0.1.19`](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.19) [Compare Source](https://github.com/microsoft/playwright-cli/compare/v0.1.18...v0.1.19) #### What's New ##### New Commands - **`recording-start` / `recording-stop`** — Record actions that the user performs manually in the browser and return them as Playwright code. Useful when the user wants to demonstrate a flow instead of describing it ([#&#8203;42359](https://github.com/microsoft/playwright/pull/42359)) #### Bug Fixes - The update check result is cached again, so commands no longer pay a network round-trip to the npm registry on every invocation ([#&#8203;454](https://github.com/microsoft/playwright-cli/pull/454)) - The installed-skill check honors `NO_UPDATE_NOTIFIER` / `CI` and runs at most once a day ([#&#8203;447](https://github.com/microsoft/playwright-cli/pull/447)) - Negative positional arguments (e.g. `mousewheel` scroll-up deltas) are no longer parsed as flags ([#&#8203;42333](https://github.com/microsoft/playwright/pull/42333)) - The session daemon no longer opens a console window on Windows ([#&#8203;42155](https://github.com/microsoft/playwright/pull/42155)) - Long workspace paths no longer truncate the daemon socket path, which left sessions stuck with `EADDRINUSE` ([#&#8203;42185](https://github.com/microsoft/playwright/pull/42185)) - `install --skills` adds `.playwright-cli/` to `.gitignore`, since traces there can contain credentials ([#&#8203;42318](https://github.com/microsoft/playwright/pull/42318)) - The hint printed after `attach` shows `-s` instead of `--s` ([#&#8203;42138](https://github.com/microsoft/playwright/pull/42138)) - `screenshot` returns the original screenshot bytes instead of silently downscaling them to model-specific limits ([#&#8203;42406](https://github.com/microsoft/playwright/pull/42406)) - Drop the cached browser backend after `close` with a shared browser context, so subsequent commands no longer fail ([#&#8203;42365](https://github.com/microsoft/playwright/pull/42365)) - Tracing can be restarted after a failed `tracing-stop` instead of permanently producing broken archives ([#&#8203;42425](https://github.com/microsoft/playwright/pull/42425)) - The default codegen language is inferred from the environment ([#&#8203;42150](https://github.com/microsoft/playwright/pull/42150)) - Do not clobber the `chromiumSandbox` setting from the config file ([#&#8203;42288](https://github.com/microsoft/playwright/pull/42288)) - Honor `--user-data-dir` in extension mode ([#&#8203;42190](https://github.com/microsoft/playwright/pull/42190)) - Do not treat orphaned browser preferences entries as an installed extension ([#&#8203;42224](https://github.com/microsoft/playwright/pull/42224)) - `state-save` / `state-load` no longer hang when the state contains IndexedDB and a page on that origin is open ([#&#8203;42260](https://github.com/microsoft/playwright/pull/42260)) ### [`v0.1.18`](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.18) [Compare Source](https://github.com/microsoft/playwright-cli/compare/v0.1.17...v0.1.18) #### Highlights - **`install --skills` supports the `-g` flag** ([microsoft/playwright#42087](https://github.com/microsoft/playwright/issues/42087)) — installs the skill into your home directory instead of the current workspace. ([microsoft/playwright#42099](https://github.com/microsoft/playwright/pull/42099)) - **Generated code in Python, Java and C#** ([microsoft/playwright-mcp#1696](https://github.com/microsoft/playwright-mcp/issues/1696)) — code can be generated in Python, Java and C# in addition to JavaScript. ([microsoft/playwright#42106](https://github.com/microsoft/playwright/pull/42106)) - **Configurable post-action settle delay** — tune how long the CLI waits for the page to settle after each action. ([microsoft/playwright#41924](https://github.com/microsoft/playwright/pull/41924)) #### Fixes - `feat(mcp): emit structured snapshot in --json responses` — `--json` no longer wraps formatted text in a string; responses carry a structured page snapshot. ([microsoft/playwright#42076](https://github.com/microsoft/playwright/issues/42076), [microsoft/playwright#42098](https://github.com/microsoft/playwright/pull/42098)) - `feat(mcp): add snapshot.boxes config to include bounding boxes in snapshots` — bounding boxes can now be enabled globally via config rather than per snapshot. ([microsoft/playwright-mcp#1695](https://github.com/microsoft/playwright-mcp/issues/1695), [microsoft/playwright#42102](https://github.com/microsoft/playwright/pull/42102)) - `fix(cli): exit with non-zero code when the tool result is an error` — failed commands no longer exit with status 0, so scripts and agents can detect errors. ([microsoft/playwright#42028](https://github.com/microsoft/playwright/issues/42028), [microsoft/playwright#42042](https://github.com/microsoft/playwright/pull/42042)) - `fix(cli): accept multiple files in upload command` — `upload` no longer rejects a second file although it advertises "one or multiple files". ([microsoft/playwright#42047](https://github.com/microsoft/playwright/issues/42047), [microsoft/playwright#42057](https://github.com/microsoft/playwright/pull/42057)) - `fix(mcp): reconnect to the browser after disconnect` — the relay reconnects after the browser extension disconnects. ([microsoft/playwright#41874](https://github.com/microsoft/playwright/issues/41874), [microsoft/playwright#41966](https://github.com/microsoft/playwright/pull/41966)) - `fix(mcp): launch the Chrome profile that has the extension installed` — `attach` no longer targets a different profile than the one with the extension. ([microsoft/playwright#41916](https://github.com/microsoft/playwright/issues/41916), [microsoft/playwright#41939](https://github.com/microsoft/playwright/pull/41939)) - `fix(mcp): pass noDefaults for extension CDP connections` — extension connections no longer override existing browser defaults. ([microsoft/playwright#42117](https://github.com/microsoft/playwright/issues/42117), [microsoft/playwright#42119](https://github.com/microsoft/playwright/pull/42119)) - `fix(mcp): clear dialog modal state when dialog is closed out of band` — dialogs dismissed by hand in headed mode no longer leave the session stuck in a modal state. ([microsoft/playwright#42032](https://github.com/microsoft/playwright/pull/42032)) - `fix(mcp): report malformed JSON config instead of falling back to INI` — a broken JSON config file now produces a clear error instead of being silently parsed as INI. ([microsoft/playwright#41909](https://github.com/microsoft/playwright/pull/41909)) - `fix(mcp): surface the missing executable path when a browser isn't installed` — clearer error message pointing at the missing browser executable. ([microsoft/playwright#41941](https://github.com/microsoft/playwright/pull/41941)) - `fix(mcp): identify downloads explicitly` — downloads are labeled explicitly in command responses. ([microsoft/playwright#41933](https://github.com/microsoft/playwright/pull/41933)) - `fix(mcp): validate Host and Origin on CDP relay WebSocket upgrades` — hardens the extension relay against unauthorized cross-origin connections. ([microsoft/playwright#42103](https://github.com/microsoft/playwright/pull/42103)) - `fix(mcp): escape user input in codegen output` — special characters in your input are escaped correctly in the generated code. ([microsoft/playwright#41962](https://github.com/microsoft/playwright/pull/41962)) - `fix(mcp): mention PLAYWRIGHT_MCP_EXECUTABLE_PATH in extension not found error` — points at the escape hatch when the extension browser can't be located (e.g. on WSL2). ([microsoft/playwright#42092](https://github.com/microsoft/playwright/issues/42092), [microsoft/playwright#42122](https://github.com/microsoft/playwright/pull/42122)) - `perf(mcp): skip aria snapshot capture when the response discards it` — commands that don't need a snapshot run faster. ([microsoft/playwright#41923](https://github.com/microsoft/playwright/pull/41923)) - The v0.1.17 fix for `goto` crashing on privileged pages (`chrome://…`) was reverted upstream: the crash originates in the browser process itself, and the fix only masked it. ([microsoft/playwright#41931](https://github.com/microsoft/playwright/pull/41931)) ### [`v0.1.17`](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.17) [Compare Source](https://github.com/microsoft/playwright-cli/compare/v0.1.16...v0.1.17) #### Fixes - **`goto` no longer crashes the browser session on privileged pages** ([#&#8203;433](https://github.com/microsoft/playwright-cli/issues/433)) — navigating to pages like `chrome://extensions/` or `chrome://settings/` used to throw `TypeError: Cannot read properties of undefined (reading 'url')` and take down the whole session. ([microsoft/playwright#41675](https://github.com/microsoft/playwright/pull/41675)) - `fix(mcp): await init page before screenshot` — screenshots taken right after open no longer race the page init. ([microsoft/playwright#41646](https://github.com/microsoft/playwright/pull/41646)) - `fix(mcp): preserve directory for additional tab videos` — videos for extra tabs are saved to the configured output directory. ([microsoft/playwright#41680](https://github.com/microsoft/playwright/pull/41680)) - `feat(mcp): always pass noDefaults for CDP connections` — attaching over CDP no longer applies unwanted default context options. ([microsoft/playwright#41676](https://github.com/microsoft/playwright/pull/41676)) ### [`v0.1.16`](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.16) [Compare Source](https://github.com/microsoft/playwright-cli/compare/v0.1.15...v0.1.16) #### Highlights - **Search a large snapshot instead of capturing the whole thing** — the new `find` command searches the page snapshot for text or a regexp and returns just the matching nodes with surrounding context (like `grep -C`), keeping big pages out of the model context. ([microsoft/playwright#41605](https://github.com/microsoft/playwright/pull/41605), [microsoft/playwright#41654](https://github.com/microsoft/playwright/pull/41654)) - **Mobile emulation** — `open --mobile` emulates a generic mobile device (Pixel for Chromium, iPhone for WebKit) and `--device="iPhone 15"` targets a specific one; mobile pages are usually lighter, so snapshots are smaller and cheaper. ([microsoft/playwright#41657](https://github.com/microsoft/playwright/pull/41657)) - **Leaner snapshots** — AI snapshots are distilled to be less verbose, cutting token cost on every command that returns page state. ([microsoft/playwright#41604](https://github.com/microsoft/playwright/pull/41604)) - **Local invocation via `npx playwright cli`** — the CLI is now exposed as `playwright cli` (and `playwright mcp`), so a locally installed Playwright can drive it without a separate global install. ([microsoft/playwright#41577](https://github.com/microsoft/playwright/pull/41577)) #### Fixes - `feat(mcp): surface non-2xx navigation status` — navigation now reports the HTTP status instead of silently succeeding on error responses. ([microsoft/playwright#41589](https://github.com/microsoft/playwright/pull/41589)) - `fix(mcp): enable the chromium sandbox for the default browser` — the default Chromium browser now runs sandboxed. ([microsoft/playwright#41652](https://github.com/microsoft/playwright/pull/41652)) - `fix(routing): normalize literal glob components through new URL()` — `route` patterns with literal glob characters now match reliably. ([microsoft/playwright#41682](https://github.com/microsoft/playwright/pull/41682)) - `fix(mcp): close isolated HTTP client context on disconnect` — isolated sessions release their context cleanly on disconnect. ([microsoft/playwright#41560](https://github.com/microsoft/playwright/pull/41560)) ### [`v0.1.15`](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.15) [Compare Source](https://github.com/microsoft/playwright-cli/compare/v0.1.14...v0.1.15) #### Highlights - **High resolution screenshots** ([#&#8203;376](https://github.com/microsoft/playwright-cli/issues/376)) — `playwright-cli screenshot --hires` captures at the device's full pixel ratio instead of downscaling to CSS pixels. ([microsoft/playwright#41465](https://github.com/microsoft/playwright/pull/41465)) - **Secrets filtered from console logs** ([#&#8203;41509](https://github.com/microsoft/playwright/issues/41509)) — configured secret values are now redacted in captured console log artifacts. ([microsoft/playwright#41515](https://github.com/microsoft/playwright/pull/41515)) #### Heads up - **The CLI now checks for updates** — on startup it notifies you when a newer `@playwright/cli` is available on npm. ([#&#8203;426](https://github.com/microsoft/playwright-cli/pull/426)) - **The CLI now warns when your installed skill is out of date** — if the bundled Playwright skill is newer than the one installed in your workspace, you'll be prompted to reinstall it. Re-run `playwright-cli install --skills` to update. ([#&#8203;427](https://github.com/microsoft/playwright-cli/pull/427)) #### Fixes - `fix(mcp): pass action timeout to browser_wait_for waitFor calls` — `wait_for` now honors the configured action timeout instead of waiting indefinitely. ([microsoft/playwright#41270](https://github.com/microsoft/playwright/pull/41270)) - `fix(mcp): wait for next pause or context closure in browser_resume` — resuming a paused session settles reliably. ([microsoft/playwright#41293](https://github.com/microsoft/playwright/pull/41293)) - `fix(mcp): assign caps as array for legacy --vision flag` — the legacy `--vision` flag works again. ([microsoft/playwright#41253](https://github.com/microsoft/playwright/pull/41253)) - `fix(mcp): never include data: URL payloads in snapshot or network output` — large `data:` URLs no longer flood snapshot and network output. ([microsoft/playwright#41450](https://github.com/microsoft/playwright/pull/41450)) - `fix(mcp): list a failed network request only once` — failed requests are no longer duplicated in network output. ([microsoft/playwright#41481](https://github.com/microsoft/playwright/pull/41481)) - `fix(mcp): check tracing state before stopping in browser_stop_tracing` — stopping tracing when it is not running no longer errors. ([microsoft/playwright#41040](https://github.com/microsoft/playwright/pull/41040)) - `fix(mcp): add missing .catch() on sessionLog write queue` — a failed session-log write no longer crashes the session. ([microsoft/playwright#41234](https://github.com/microsoft/playwright/pull/41234)) ([microsoft/playwright#41382](https://github.com/microsoft/playwright/pull/41382)) ### [`v0.1.14`](https://github.com/microsoft/playwright-cli/releases/tag/v0.1.14) [Compare Source](https://github.com/microsoft/playwright-cli/compare/v0.1.13...v0.1.14) #### Highlights - **Annotate actions in recorded videos** — new `video-show-actions` / `video-hide-actions` commands draw a callout naming each action and highlighting its target in the recording. ([microsoft/playwright#40914](https://github.com/microsoft/playwright/pull/40914)) - **`exposeNetwork` and other connect options for remote browsers** — `remoteEndpoint` now accepts a full `ConnectOptions` object, so settings like `exposeNetwork` and headers apply to remote connections. ([microsoft/playwright#40964](https://github.com/microsoft/playwright/pull/40964)) - **Bounded output size** — `--output-max-size` caps captured output and evicts to disk after the response, keeping large sessions manageable. ([microsoft/playwright#41031](https://github.com/microsoft/playwright/pull/41031)) #### Fixes - `fix(cli): support attaching to a Playwright browser server endpoint` ([microsoft/playwright#41154](https://github.com/microsoft/playwright/issues/41154)) — `playwright-cli attach --endpoint=<ws-url>` connects to a running browser server instead of erroring out. ([microsoft/playwright#41203](https://github.com/microsoft/playwright/pull/41203)) - `fix(mcp): support moz-firefox BiDi channels via --browser` — connect to Firefox over BiDi using `--browser`. ([microsoft/playwright#41126](https://github.com/microsoft/playwright/pull/41126)) - `fix(mcp): keep remoteHeaders working for remote browser endpoint` — custom headers are sent again when connecting to a remote endpoint. ([microsoft/playwright#41156](https://github.com/microsoft/playwright/pull/41156), [#&#8203;40828](https://github.com/microsoft/playwright/pull/40828)) - `fix(cli): persist traces when CLI attaches to existing CDP browser` — traces are now saved when attaching over CDP. ([microsoft/playwright#40810](https://github.com/microsoft/playwright/pull/40810)) - `fix(cli): accept single --modifiers value for click and dblclick` — `--modifiers=Shift` works without requiring a list. ([microsoft/playwright#40784](https://github.com/microsoft/playwright/pull/40784)) - `fix(cli): trim overlong session names to fit unix socket path limit` — long session names no longer break the daemon socket. ([microsoft/playwright#40898](https://github.com/microsoft/playwright/pull/40898)) - `fix(cli): do not pass PLAYWRIGHT_CLI_SESSION as daemon --endpoint` — fixes spurious endpoint resolution from the session env var. ([microsoft/playwright#41019](https://github.com/microsoft/playwright/pull/41019)) - `fix(mcp): report missing ffmpeg distinctly from missing browser` — clearer error when video recording fails due to a missing ffmpeg. ([microsoft/playwright#40867](https://github.com/microsoft/playwright/pull/40867)) - `fix(mcp): report invalid tool arguments` — invalid arguments now produce a readable error instead of failing silently. ([microsoft/playwright#40979](https://github.com/microsoft/playwright/pull/40979)) - `fix(mcp): use writable cache dir for MCP user data, not browsers path` — avoids permission errors on read-only browser installs. ([microsoft/playwright#40961](https://github.com/microsoft/playwright/pull/40961)) - `fix(mcp): use waitUntil commit for navigate back/forward` — back/forward navigation resolves more reliably. ([microsoft/playwright#41153](https://github.com/microsoft/playwright/pull/41153)) - `fix(mcp): tear down dashboard server on cli show --kill` — `cli show --kill` fully stops the dashboard. ([microsoft/playwright#40968](https://github.com/microsoft/playwright/pull/40968)) - `fix(tracing): mkdir tracesDir before live .stacks writes` — fixes a crash when the traces directory does not yet exist. ([microsoft/playwright#40730](https://github.com/microsoft/playwright/pull/40730)) - `docs(cli): document & URL escaping on Windows` — guidance on escaping `&` in URLs on cmd.exe and PowerShell. ([microsoft/playwright#40742](https://github.com/microsoft/playwright/pull/40742)) #### Upgrading ```bash npm install -g @playwright/cli@0.1.14 ``` </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/London) - Branch creation - "before 5am on Monday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNDcuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjI0Ny4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->
fix(deps): update dependency @playwright/cli to v0.1.25
Some checks failed
renovate/artifacts Artifact file update failure
CI / integration (pull_request) Failing after 2m16s
CI / e2e (pull_request) Failing after 1m3s
CI / unit (pull_request) Failing after 16s
CI / ci (pull_request) Failing after 0s
CI / generate (pull_request) Failing after 21s
CI / lint (pull_request) Failing after 18s
1496c66493
renovate-bot scheduled this pull request to auto merge when all checks succeed 2026-11-30 02:13:44 +00:00
Author
Collaborator

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: nix/playwright-cli/package.json
Post-upgrade command 'cd  && nix run github:nix-community/gomod2nix -- --outdir .' has not been added to the allowed list in allowedCommands
### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: nix/playwright-cli/package.json ``` Post-upgrade command 'cd && nix run github:nix-community/gomod2nix -- --outdir .' has not been added to the allowed list in allowedCommands ```
renovate-bot force-pushed renovate/playwright-cli-0.x from 1496c66493
Some checks failed
renovate/artifacts Artifact file update failure
CI / integration (pull_request) Failing after 2m16s
CI / e2e (pull_request) Failing after 1m3s
CI / unit (pull_request) Failing after 16s
CI / ci (pull_request) Failing after 0s
CI / generate (pull_request) Failing after 21s
CI / lint (pull_request) Failing after 18s
to 5a26de7f15
Some checks failed
renovate/artifacts Artifact file update failure
CI / integration (pull_request) Failing after 1m50s
CI / generate (pull_request) Failing after 18s
CI / unit (pull_request) Failing after 23s
CI / ci (pull_request) Failing after 0s
CI / e2e (pull_request) Failing after 1m7s
CI / lint (pull_request) Failing after 17s
2026-12-01 02:23:36 +00:00
Compare
Some checks failed
renovate/artifacts Artifact file update failure
CI / integration (pull_request) Failing after 1m50s
Required
Details
CI / generate (pull_request) Failing after 18s
Required
Details
CI / unit (pull_request) Failing after 23s
Required
Details
CI / ci (pull_request) Failing after 0s
Required
Details
CI / e2e (pull_request) Failing after 1m7s
Required
Details
CI / lint (pull_request) Failing after 17s
Required
Details
Some required checks were not successful.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'renovate/playwright-cli-0.x:renovate/playwright-cli-0.x'
git switch 'renovate/playwright-cli-0.x'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
hmajid2301/lettucego!3
No description provided.