# playwright-cli v0.1.18 - Product: playwright-cli (https://whatsnew.fyi/product/playwright-cli) - Vendor: playwright-cli - Date: 2026-08-06 - Version: v0.1.18 - Original notes: https://github.com/microsoft/playwright-cli/releases/tag/v0.1.18 - Permalink: https://whatsnew.fyi/product/playwright-cli/releases/v0.1.18 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — install --skills supports the -g flag to install the skill into your home directory instead of the current workspace - **added** — Code can be generated in Python, Java and C# in addition to JavaScript - **added** — Configurable post-action settle delay to tune how long the CLI waits for the page to settle after each action - **added** — snapshot.boxes config to include bounding boxes in snapshots globally - **changed** — --json responses no longer wrap formatted text in a string and carry a structured page snapshot instead - **fixed** — Exit with non-zero code when the tool result is an error - **fixed** — Accept multiple files in upload command - **fixed** — Reconnect to the browser after disconnect - **fixed** — Launch the Chrome profile that has the extension installed - **fixed** — Pass noDefaults for extension CDP connections to avoid overriding existing browser defaults - **fixed** — Clear dialog modal state when dialog is closed out of band - **fixed** — Report malformed JSON config instead of falling back to INI - **fixed** — Surface the missing executable path when a browser isn't installed - **fixed** — Identify downloads explicitly in command responses - **fixed** — Validate Host and Origin on CDP relay WebSocket upgrades - **fixed** — Escape user input in codegen output - **fixed** — Mention PLAYWRIGHT_MCP_EXECUTABLE_PATH in extension not found error - **changed** — Skip aria snapshot capture when the response discards it for improved performance ##### 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 Origi _[Truncated at 4000 characters — full notes: https://github.com/microsoft/playwright-cli/releases/tag/v0.1.18]_