unstale

npm / @playwright/cli

@playwright/cli

What changed in @playwright/cli 0.0 to 0.180, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

36 breaking9 security86 new APIs and options4 performance18 behavior and defaults11 tooling111 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@playwright/cli 0.18010 changes

New APIs and options 9

  • Selects a browser for the CLI configuration, including Firefox.

    0.180.0release notes

  • Accepts a configuration file for persistent session configuration.

    0.180.0release notes

  • Configures a persistent CLI session to run headed.

    0.180.0release notes

  • Configures an isolated, ephemeral browser context.

    0.180.0release notes

  • Selects a browser to install, including Firefox.

    0.180.0release notes

  • Selects a session for CLI use with the browser extension.

    0.180.0release notes

  • Supports taking a snapshot with the Playwright browser extension.

    0.180.0release notes

  • Starts on-demand video recording in the CLI.

    0.180.0release notes

  • Stops on-demand video recording in the CLI.

    0.180.0release notes

Tooling 1

  • A Playwright CLI executable is available for running browser workflows from the terminal.

    0.180.0release notes

@playwright/cli 0.1255 changes

Breaking changes 29

  • Node.js 20 or newer is required to use this release.

    0.1.25release notes

  • Attaching to a Playwright browser server requires its full ws:// or wss:// endpoint, including the path; HTTP endpoint discovery is removed.

    0.1.25release notes

  • Relative profile, storage-state, executable and output paths in config files resolve next to the config file; paths supplied through flags or environment variables remain relative to the working directory.

    0.1.24release notes

  • Unknown device names report a clear error instead of silently disabling emulation, and context overrides no longer mutate shared device presets.

    0.1.24release notes

  • Repeated downloads receive ordinal filenames such as report-1.csv and report-2.csv instead of overwriting earlier files.

    0.1.24release notes

  • 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.

    0.1.24release notes

  • Profile deletion now targets the exact session, so deleting work does not delete the persistent profile of work-test.

    0.1.24release notes

  • Snapshots treat content outside modal dialogs as hidden.

    0.1.23release notes

  • Snapshots exclude unusable controls, and click/fill actions wait for targets to stop being inert.

    0.1.23release notes

  • Normalizes loopback IP URLs to HTTP and bare external hosts with ports to HTTPS.

    0.1.23release notes

  • Works with Chromium 155 and later.

    0.1.22release notes

  • Adds CSS styling for the target highlight; the highlight is shown only when styled.

    0.1.21release notes

  • Adds CSS styling for action point markers; the marker is shown only when styled.

    0.1.21release notes

  • Headless sessions shut down after one hour without commands, so an unclosed session no longer holds a browser; headed browsers stay open.

    0.1.20release notes

  • The default codegen language is inferred from the environment.

    0.1.19release notes

  • Returns the original screenshot bytes instead of silently downscaling them to model-specific limits.

    0.1.19release notes

  • Commands now exit with a non-zero status when the tool result is an error, allowing scripts and agents to detect failures.

    0.1.18release notes

  • JSON responses now carry a structured page snapshot instead of wrapping formatted text in a string.

    0.1.18release notes

  • Navigation reports the HTTP status for non-2xx responses instead of silently succeeding.

    0.1.16release notes

  • The CLI can be invoked through a locally installed Playwright, without a separate global install.

    0.1.16release notes

  • The MCP command is exposed through a locally installed Playwright, without a separate global install.

    0.1.16release notes

  • Honors the configured action timeout instead of waiting indefinitely.

    0.1.15release notes

  • Screenshots with an explicit filename no longer also embed the image in the response.

    0.1.12release notes

  • Extension mode ignores the browser section of loaded config files; browser and channel are determined only by --browser or PLAYWRIGHT_MCP_BROWSER.

    0.1.10release notes

  • Relative paths from --config files resolve against the config directory, while CLI-flag and environment-variable entries resolve against cwd; load errors are surfaced.

    0.1.10release notes

  • The network command is replaced by numbered request listing and detail commands, with separate commands for extracting request and response parts.

    0.1.10release notes

  • Cookie, storage, route, and request/response part commands emit raw output by default, without a Result wrapper or requiring --raw.

    0.1.10release notes

  • Requires an explicit target; bare attach is no longer allowed.

    0.1.9release notes

  • Connecting via the Playwright MCP Bridge extension moved from open to the dedicated attach command, which can also specify the browser.

    0.1.5release notes

Security 9

  • Blocks navigation and form submission from recorded snapshots; trace-file routes reject frame navigations, and the server checks WebSocket origins.

    0.1.25release notes

  • Replaces configured query and fragment parameter values with <redacted> in command responses.

    0.1.23release notes

  • Header-only handlers no longer skip configured allowed- or blocked-origin filters.

    0.1.23release notes

  • No longer copies credential-bearing context options such as HTTP credentials, proxy credentials, extra headers, and storage-state cookies.

    0.1.23release notes

  • Preapproves Playwright commands only, rather than any npm or npx command.

    0.1.22release notes

  • Adds .playwright-cli/ to .gitignore because traces there can contain credentials.

    0.1.19release notes

  • Host and Origin are validated to harden the extension relay against unauthorized cross-origin connections.

    0.1.18release notes

  • The default Chromium browser now runs sandboxed.

    0.1.16release notes

  • Configured secret values are redacted in captured console log artifacts.

    0.1.15release notes

New APIs and options 75

  • Leaves your existing tab organization alone when connecting.

    0.1.25release notes

  • Labels the extension tab group with the session name and keeps disconnected groups available to select on the next connection.

    0.1.25release notes

  • Sets a color for the extension session tab group.

    0.1.25release notes

  • Closes the extension session's tabs before disconnecting; plain detach still leaves them open.

    0.1.25release notes

  • Set background mode in CLI config so attached agents can control tabs while the browser window stays in the background.

    0.1.24release notes

  • Opt in to resolving locators only against visible matches, avoiding strict-mode failures caused by hidden, cached UI.

    0.1.24release notes

  • Set this environment variable to 1 when attaching with the Chrome extension to keep controlled tabs and the browser window in the background.

    0.1.24release notes

  • Set this CLI config option to false so Chrome extension sessions control tabs without creating a tab group or changing existing groups.

    0.1.24release notes

  • Accepts JavaScript, Python, Java, and C# locators; invalid targets explain accepted forms, including how to pass a bare snapshot ref.

    0.1.23release notes

  • Includes retained console entries from earlier navigations.

    0.1.23release notes

  • Limits matching items returned and reports the total match count.

    0.1.23release notes

  • Includes retained request entries from earlier navigations; request numbers remain stable.

    0.1.23release notes

  • Opens a tab with separate cookies and storage; tabs with the same context name share login state.

    0.1.23release notes

  • When a query produces too many matches, --filename saves them to a file.

    0.1.22release notes

  • Set filePaths to "absolute" in the config file to get absolute paths for snapshots, screenshots, console logs, and downloads.

    0.1.21release notes

  • Set PLAYWRIGHT_MCP_FILE_PATHS=absolute to get absolute paths for snapshots, screenshots, console logs, and downloads.

    0.1.21release notes

  • Set PLAYWRIGHT_MCP_WEBMCP=false to stop collecting page-registered tools.

    0.1.21release notes

  • Emulates a color scheme on the fly, letting an agent switch between light and dark during a session.

    0.1.21release notes

  • Emulates the contrast media feature on the fly.

    0.1.21release notes

  • Emulates the forced-colors media feature on the fly.

    0.1.21release notes

  • Emulates media features on the fly.

    0.1.21release notes

  • Emulates the reduced-motion media feature on the fly.

    0.1.21release notes

  • Adds CSS declarations for styling video action titles.

    0.1.21release notes

  • The --cursor option renders an animated mouse cursor that travels to each action point and stays visible between actions.

    0.1.21release notes

  • The --fps option records videos at a chosen frame rate; --fps=60 records smooth 60 fps videos instead of the default 25.

    0.1.21release notes

  • Set webmcp to false in the config file to stop collecting page-registered tools.

    0.1.21release notes

  • Sets an idle timeout for attached browsers; they are only detached when this option is set.

    0.1.20release notes

  • Sets the idle timeout for a headless session; 0 disables the timeout.

    0.1.20release notes

  • Configures the idle timeout for a headless session; 0 disables the timeout.

    0.1.20release notes

  • Calls tools a page registers through the WebMCP API, letting the page do the work instead of driving its UI.

    0.1.20release notes

  • Lists the tools a page registers through the WebMCP API.

    0.1.20release notes

  • Stops recording actions performed manually in the browser and returns them as Playwright code.

    0.1.19release notes

  • The -g flag installs the skill into your home directory instead of the current workspace.

    0.1.18release notes

  • The delay the CLI waits for the page to settle after each action is configurable.

    0.1.18release notes

  • Bounding boxes can be enabled globally through configuration instead of per snapshot.

    0.1.18release notes

  • Searches a page snapshot for text or a regexp and returns matching nodes with surrounding context, avoiding capturing large snapshots in model context.

    0.1.16release notes

  • Targets a specific device for mobile emulation.

    0.1.16release notes

  • Emulates a generic mobile device when opening a page, producing mobile pages with smaller snapshots.

    0.1.16release notes

  • Captures screenshots at the device's full pixel ratio instead of downscaling to CSS pixels.

    0.1.15release notes

  • Caps captured output and evicts it to disk after the response to keep large sessions manageable.

    0.1.14release notes

  • Supports attaching to a running browser server endpoint using a WebSocket URL.

    0.1.14release notes

  • Now accepts a full ConnectOptions object, allowing settings like exposeNetwork and headers to apply to remote connections.

    0.1.14release notes

  • Hides action callouts in the recording.

    0.1.14release notes

  • Draws a callout naming each action and highlighting its target in the recording.

    0.1.14release notes

  • The dashboard can collect, annotate, and submit several screenshots in one session, with a sidebar of frames and per-comment highlight.

    0.1.12release notes

  • Part commands accept --filename to save extracted results to a file; bodies are no longer inlined.

    0.1.10release notes

  • Extracts the request body for a numbered request.

    0.1.10release notes

  • Extracts request headers for a numbered request.

    0.1.10release notes

  • Shows full details for one request identified by its stable index.

    0.1.10release notes

  • Lists requests with stable indexes so individual requests can be inspected using numbered commands.

    0.1.10release notes

  • Extracts the response body for a numbered request.

    0.1.10release notes

  • Extracts response headers for a numbered request.

    0.1.10release notes

  • Adds a command to detach an attach session without closing the underlying browser; attach sessions use the channel name.

    0.1.9release notes

  • Drops files or typed data onto an element from outside the page, supporting file-upload widgets and drag-from-desktop scenarios.

    0.1.9release notes

  • Produces a stable Playwright locator expression for an element ref; --raw can feed locators into test assertions.

    0.1.9release notes

  • Shows a persistent highlight overlay on an element; --style customizes it, and --hide hides one or all overlays.

    0.1.9release notes

  • Wraps every reply as structured JSON for machine parsing.

    0.1.9release notes

  • Surfaces Chrome and Edge instances running with remote debugging so they can be targeted by attach --cdp.

    0.1.9release notes

  • Runs a Playwright snippet from a file instead of the command line.

    0.1.9release notes

  • Provides visual and structural feedback while developing or testing.

    0.1.9release notes

  • Includes each element's bounding box in aria snapshots, enabling coordinate-based tools to use snapshot data.

    0.1.9release notes

  • Use --cdp=chrome or another supported browser channel to connect to your local Chrome or Edge, retaining its existing logins instead of using a sandboxed copy.

    0.1.8release notes

  • The attach command accepts a CDP endpoint URL to connect to an existing browser without launching a new one.

    0.1.5release notes

  • The new global flag strips page status, generated code, and snapshot sections, returning only the result value for piping command output into other tools.

    0.1.5release notes

  • Adds a command for attaching to a running Playwright test for interactive debugging.

    0.1.2release notes

  • Adds URL-pattern filtering for network request output.

    0.1.2release notes

  • Adds an option to include request bodies in network output.

    0.1.2release notes

  • Adds an option to include request headers in network output.

    0.1.2release notes

  • Adds a command to simulate network connectivity loss or restore connectivity for offline scenario testing.

    0.1.2release notes

  • Adds a debugger command for stepping over during an attached test session.

    0.1.2release notes

  • Adds a description option for video chapter markers.

    0.1.2release notes

  • Adds a duration option for video chapter markers.

    0.1.2release notes

  • Video recording commands now support action annotations and chapter markers, enabling richer recordings.

    0.1.2release notes

  • Run a test with this option to enable attaching through playwright-cli for interactive debugging; requires @playwright/test v1.59 or later.

    0.1.2release notes

  • Opens a dashboard with live screencasts of running browser sessions, where developers can take remote control, close sessions, or clean up data.

    0.1.1release notes

Performance 4

  • Recording uses less browser CPU on idle animated pages without changing the frames kept in the trace.

    0.1.25release notes

  • Video recordings now use VP9 while keeping WebM output, producing smaller files with less encoding CPU.

    0.1.23release notes

  • The update check result is cached again, avoiding a network round-trip to the npm registry on every command invocation.

    0.1.19release notes

  • Commands that don't need a snapshot run faster because snapshot capture is skipped when the response discards it.

    0.1.18release notes

Behavior and default changes 17

  • When enabled, locators in run-code apply first(), last() and nth() to visible matches; explicit visibility filters still take precedence.

    0.1.25release notes

  • Unix CLI sessions and the dashboard prefer $XDG_RUNTIME_DIR/playwright over the shared temporary directory when usable.

    0.1.23release notes

  • Scripts can use timers, fetch, URL, Buffer, crypto, AbortController, TextEncoder, and TextDecoder; require and process remain unavailable.

    0.1.22release notes

  • Page-registered WebMCP tools, descriptions, and input schemas appear at the top of the snapshot, so webmcp-call works without first running webmcp-list.

    0.1.21release notes

  • The Chromium sandbox is disabled by default on Linux for the bundled Chromium build, which lacks the setuid sandbox helper.

    0.1.20release notes

  • Session daemons exit when their control socket is deleted or replaced instead of staying alive with the browser.

    0.1.20release notes

  • The check honors NO_UPDATE_NOTIFIER and CI and runs at most once a day.

    0.1.19release notes

  • The session daemon no longer opens a console window on Windows.

    0.1.19release notes

  • Videos for additional tabs are now saved to the configured output directory.

    0.1.17release notes

  • AI snapshots are less verbose, reducing token cost on commands that return page state.

    0.1.16release notes

  • Payloads are no longer included in snapshot or network output, preventing large data URLs from flooding output.

    0.1.15release notes

  • The CLI prompts you to reinstall when the bundled Playwright skill is newer than the one installed in your workspace.

    0.1.15release notes

  • Supports connecting to Firefox over BiDi.

    0.1.14release notes

  • The extension preflight scans every Profile * subdirectory under the user data directory, rather than only Default.

    0.1.10release notes

  • When static requests are filtered out, the request list now hints that --static will show them.

    0.1.10release notes

  • Prints the path to the installed agent skill so coding agents can discover it.

    0.1.9release notes

  • Defaults browserToken to 'chrome' when none is specified, avoiding undefined in userDataDir paths.

    0.1.8release notes

Tooling 10

  • The hint printed after attach now shows -s instead of --s.

    0.1.19release notes

  • Negative positional arguments, such as mousewheel scroll-up deltas, are no longer parsed as flags.

    0.1.19release notes

  • Starts recording actions performed manually in the browser and returns them as Playwright code.

    0.1.19release notes

  • The error message now points to the missing executable when a browser isn't installed.

    0.1.18release notes

  • Downloads are now labeled explicitly in command responses.

    0.1.18release notes

  • Code can now be generated in Python, Java, and C# in addition to JavaScript.

    0.1.18release notes

  • The extension-not-found error now mentions this escape hatch when the extension browser can't be located.

    0.1.18release notes

  • The command now accepts multiple files instead of rejecting a second file.

    0.1.18release notes

  • The CLI notifies you on startup when a newer @playwright/cli is available on npm.

    0.1.15release notes

  • The extension formerly named Playwright MCP Bridge has been renamed, and the CLI warns when it is missing from the target profile.

    0.1.9release notes

Fixes and other changes 111

  • Chromium service workers honor the configured timezone from their first statement, keeping date handling consistent with pages.

    0.1.25release notes

  • A busy existing tab no longer blocks attachment indefinitely; pages that cannot initialize within 10 seconds become available later when they respond.

    0.1.25release notes

  • On Linux ARM64, installs Google's ARM64 Debian package instead of rejecting the architecture.

    0.1.25release notes

  • Running without code or --filename reports a clear input error instead of an internal TypeError.

    0.1.25release notes

  • Embedded comboboxes include their selected option's name in accessible names even when aria-selected uses a mixed-case value such as True.

    0.1.24release notes

  • Connections use the WebSocket path recorded by Chrome instead of failing with a 404.

    0.1.24release notes

  • Browser discovery and attachment on Linux now respect this config directory.

    0.1.24release notes

  • Explicit HTTP URLs and HTTP route mocks stay on HTTP instead of being unexpectedly upgraded or failing in Chromium, Chrome and Edge.

    0.1.24release notes

  • Pending operations on an iframe whose document has not loaded fail when its page closes instead of waiting indefinitely.

    0.1.24release notes

  • Invalid arguments and startup failures return a readable error, or an isError/error object in JSON mode, and exit with code 1 instead of exposing an unhandled rejection.

    0.1.24release notes

  • Label locators and accessible names now recognize labels associated with custom form controls.

    0.1.24release notes

  • Losing the last controlled tab produces an actionable error instead of an undefined-property exception, with guidance for possible debugger detachment by another extension's frame.

    0.1.24release notes

  • Attaching to an existing headless browser preserves its font settings and page layout.

    0.1.24release notes

  • Console source line numbers are now one-based and match editors and DevTools.

    0.1.24release notes

  • Validation errors and recovery hints use runnable CLI command names rather than MCP tool names and avoid doubled Error prefixes.

    0.1.24release notes

  • Evaluation results such as BigInts, circular objects, regular expressions and special numeric values are represented without serialization errors or loss of values; JSON-compatible results keep their format.

    0.1.24release notes

  • Missing Linux dependencies are reported across browsers in one pass, including package names for Vulkan and Graphene.

    0.1.24release notes

  • On Windows, the command correctly reports the daemons it stopped instead of saying none were found.

    0.1.24release notes

  • Full-page screenshots now capture standalone SVG documents instead of timing out.

    0.1.24release notes

  • Snapshots preserve identifying names on dialogs, landmarks, tables and column headers when their heading or caption also appears below them.

    0.1.24release notes

  • In new headless Chrome and Edge, video recording captures the whole viewport without losing the bottom of the page to browser-toolbar sizing.

    0.1.24release notes

  • Commands such as eval and click no longer hang during post-action waits on CSP-sandboxed pages or pages with paused clocks.

    0.1.24release notes

  • Exceptions in page or context listeners registered with run-code appear in console output instead of terminating the session.

    0.1.24release notes

  • Ambiguous matches in slotted web components produce a useful strict-mode error instead of a TypeError when the CSS fallback path is not unique.

    0.1.24release notes

  • Quotes YAML-special text so it remains a string when snapshot output is parsed or reused.

    0.1.23release notes

  • Handles discarded or crashed tabs without wedging commands and closes those tabs while preserving live ones.

    0.1.23release notes

  • Discovers nested frames correctly when attaching to an already-loaded page.

    0.1.23release notes

  • Lets Chrome shut down normally instead of force-killing the browser, preventing temporary app-clone folders from accumulating on macOS.

    0.1.23release notes

  • Deletes only the cookie matching the specified name, domain, and path, leaving same-named cookies elsewhere intact.

    0.1.23release notes

  • Matches the specified domain and its subdomains, not unrelated names; matching ignores case and a leading dot.

    0.1.23release notes

  • Matches the specified path and paths beneath it, not sibling paths.

    0.1.23release notes

  • On pages without a host, asks for a cookie domain instead of returning an internal assertion error.

    0.1.23release notes

  • Surfaces navigation dialogs immediately so they can be handled instead of hanging until timeout.

    0.1.23release notes

  • Accepts Windows source locations such as C:\tests\example.spec.ts:42.

    0.1.23release notes

  • Authenticated proxy URLs retain their credentials instead of failing proxy authentication.

    0.1.23release notes

  • Mocked responses retain supplied headers, including CORS and cache headers.

    0.1.23release notes

  • Request-header replacement and removal work regardless of header-name casing.

    0.1.23release notes

  • Asynchronous route callback errors return their original message without duplicated errors or an extra Error: prefix.

    0.1.23release notes

  • Shows a loaded iframe's content and element refs even when its HTML contains fallback text.

    0.1.23release notes

  • Honors npm registry, scoped registry, proxy, and authentication settings when checking for updates.

    0.1.23release notes

  • Does not open a terminal window that steals focus during background recording on Windows.

    0.1.23release notes

  • The session no longer crashes if the browser closes during a download.

    0.1.22release notes

  • Reports a dialog opened during page load instead of timing out.

    0.1.22release notes

  • Accepts --no-shell instead of failing with an unknown-option error.

    0.1.22release notes

  • Quotes accessible names that look like regular expressions.

    0.1.22release notes

  • No longer runs a tool in a stale tab or frame.

    0.1.22release notes

  • Matching clear-* commands reset media feature emulation.

    0.1.21release notes

  • route ignores header lines that have no name.

    0.1.21release notes

  • Secrets shorter than 4 characters no longer rewrite the whole output with <secret> markers.

    0.1.21release notes

  • state-save bypasses service workers on the storage state page, avoiding site scripts and failures when they redirect.

    0.1.21release notes

  • A failed upload keeps the file chooser open so the upload can be retried.

    0.1.21release notes

  • When the extension does not connect, attach fails after 30 seconds with a hint instead of hanging indefinitely.

    0.1.20release notes

  • The CLI debugger works for tests that create multiple browser contexts and for every test in a worker.

    0.1.20release notes

  • Explicitly named output files in nested directories no longer fail with ENOENT.

    0.1.20release notes

  • Video chapters and screencast overlays remain visible above open dialogs and popovers.

    0.1.20release notes

  • Drops the cached browser backend after close with a shared browser context, preventing subsequent commands from failing.

    0.1.19release notes

  • The chromiumSandbox setting from the config file is no longer clobbered.

    0.1.19release notes

  • Long workspace paths no longer truncate the daemon socket path and leave sessions stuck with EADDRINUSE.

    0.1.19release notes

  • Orphaned browser preferences entries are no longer treated as an installed extension.

    0.1.19release notes

  • These commands no longer hang when state contains IndexedDB and a page on that origin is open.

    0.1.19release notes

  • Tracing can be restarted after a failed tracing-stop instead of permanently producing broken archives.

    0.1.19release notes

  • The option is now honored in extension mode.

    0.1.19release notes

  • The command now launches the Chrome profile that has the extension installed.

    0.1.18release notes

  • The relay reconnects after the browser extension disconnects.

    0.1.18release notes

  • Special characters in user input are escaped correctly in generated code.

    0.1.18release notes

  • Dialogs dismissed by hand in headed mode no longer leave the session stuck in a modal state.

    0.1.18release notes

  • Connections pass noDefaults so they no longer override existing browser defaults.

    0.1.18release notes

  • The v0.1.17 fix for crashes on privileged pages such as chrome:// was reverted; the crash originates in the browser process itself.

    0.1.18release notes

  • Malformed JSON configuration now produces a clear error instead of being silently parsed as INI.

    0.1.18release notes

  • Attaching over CDP no longer applies unwanted default context options.

    0.1.17release notes

  • Navigating to privileged pages such as chrome://extensions/ no longer crashes the browser session.

    0.1.17release notes

  • Screenshots taken immediately after opening a page wait for page initialization, avoiding a race.

    0.1.17release notes

  • Route patterns containing literal glob characters now match reliably.

    0.1.16release notes

  • Resuming a paused session now settles reliably by waiting for the next pause or context closure.

    0.1.15release notes

  • Stopping tracing when it is not running no longer errors.

    0.1.15release notes

  • Failed network requests are no longer duplicated in output.

    0.1.15release notes

  • A failed session-log write no longer crashes the session.

    0.1.15release notes

  • The legacy flag works again.

    0.1.15release notes

  • Uses waitUntil commit so back and forward navigation resolves more reliably.

    0.1.14release notes

  • Fully stops the dashboard when invoked with --kill.

    0.1.14release notes

  • Accepts a single modifier value such as Shift without requiring a list.

    0.1.14release notes

  • Accepts a single modifier value such as Shift without requiring a list.

    0.1.14release notes

  • Uses a writable cache directory instead of the browsers path, avoiding permission errors on read-only browser installs.

    0.1.14release notes

  • The session environment variable is no longer passed as the daemon endpoint, fixing spurious endpoint resolution.

    0.1.14release notes

  • Custom headers are sent again when connecting to a remote endpoint.

    0.1.14release notes

  • Long session names are trimmed to fit the Unix socket path limit, preventing daemon socket failures.

    0.1.14release notes

  • Invalid tool arguments now produce a readable error instead of failing silently.

    0.1.14release notes

  • Traces are now saved when the CLI attaches to an existing CDP browser.

    0.1.14release notes

  • Creates the traces directory before live .stacks writes, preventing a crash when the directory does not exist.

    0.1.14release notes

  • Reports a missing ffmpeg distinctly from a missing browser when video recording fails.

    0.1.14release notes

  • Browser-scoped commands such as cookie-list and state-save now work when attached via the Chrome extension.

    0.1.13release notes

  • Target resolution no longer misclassifies locators containing e followed by digits.

    0.1.12release notes

  • The current tab is reopened automatically when its renderer crashes.

    0.1.12release notes

  • The next tool call transparently reconnects after a remote browser disconnects mid-session.

    0.1.12release notes

  • When a headed browser is launched with viewport: null, annotate now falls back to window.innerWidth/innerHeight instead of producing an empty annotated screenshot.

    0.1.11release notes

  • Unhandled async callback errors are reported on the next tool response instead of tearing down the MCP transport.

    0.1.10release notes

  • The daemon exits when the browser extension cannot connect, preventing orphaned daemons.

    0.1.9release notes

  • Disables the CDP timeout for extension connections so long-running extension attaches do not time out.

    0.1.9release notes

  • Printed links prefix bare filenames with ./ so they open reliably in terminals and editors.

    0.1.9release notes

  • Displays “(no browsers)” when the list is empty without --all.

    0.1.9release notes

  • Restores closing tabs through the extension in protocol v2.

    0.1.9release notes

  • Closes browsers when the server shuts down, avoiding lingering browser processes.

    0.1.9release notes

  • An explicit CLI proxy now takes precedence over the config-file proxy.

    0.1.9release notes

  • Shows a readable error when attempting tab creation in extension protocol v1 instead of a cryptic failure.

    0.1.9release notes

  • Long CLI or agent sessions no longer leave orphaned Chrome processes that need to be killed manually.

    0.1.8release notes

  • Matches the current cliDaemon.js process so kill-all actually terminates running daemons.

    0.1.7release notes

  • Resolves element refs correctly so snapshots taken after navigation no longer fail to look up references.

    0.1.7release notes

  • The current workspace group is shown first and expanded when running outside a workspace.

    0.1.6release notes

  • The list command no longer crashes when workspaceDir is undefined, allowing it to run outside a workspace.

    0.1.5release notes

  • Providing a URL now navigates the newly opened tab to that URL instead of leaving it blank.

    0.1.5release notes

  • Fixes tracing start/stop behavior.

    0.1.0release notes

@playwright/cli 0.010 changes

Breaking changes 7

  • Browser profiles are now in-memory by default, so every session starts clean with no leftover state.

    0.0.64release notes

  • Closes all browsers.

    0.0.64release notes

  • Forcefully kills all browser processes.

    0.0.64release notes

  • Lists all sessions.

    0.0.64release notes

  • Use -s= as the shorter session flag.

    0.0.64release notes

  • The --session flag has been replaced with -s=.

    0.0.64release notes

  • Sessions no longer have a stopped state; they are either running or gone.

    0.0.64release notes

New APIs and options 2

  • Use this option to opt into a persistent profile.

    0.0.64release notes

  • Use this option to specify a custom profile directory.

    0.0.64release notes

Behavior and default changes 1

  • Each workspace gets its own daemon process, preventing cross-project interference and enabling direct daemon startup for faster, more reliable operation.

    0.0.64release notes