Release /
Playwright MCP v0.0.85
Keep extension-controlled browser tabs in the background while working in another app.
Before you upgrade to v0.0.85
2 to fixThe v0.0.84 snapshot filtering is reverted: inert content and content outside modal dialogs are no longer hidden solely for those reasons. Click, fill and select still wait for explicitly inert targets.
Rewrite relative config-file paths against the config file's directory (the target directory for symlinks), or use absolute paths. CLI and environment paths remain relative to the working directory.
Replace unknown `--device` values with valid device names; unknown names now produce an explicit error. Per-client overrides no longer mutate shared device presets.
Console source locations in `browser_console_messages` and tool responses now use line numbers starting at 1.
What changed in v0.0.85
`--background` and `--no-tab-group` control extension tabs, and `browser.contextOptions.locateOnlyVisible` filters locators. Config-file paths resolve relative to their file; snapshot inert/modal filtering from v0.0.84 is reverted.
Also: Preserve tab groups, target visible elements, capture full-page SVGs, and adjust relative configuration paths.
Run `npx @playwright/[email protected]` with Node.js 18+ and an MCP client. New extension options require extension 0.5.0+; video tools require `--caps=devtools`.
New things you can do
Use `--background` with `--extension`, `background: true`, or `PLAYWRIGHT_MCP_BACKGROUND=1`.
Use `--no-tab-group` with `--extension`, `tabGroup: false`, or `PLAYWRIGHT_MCP_NO_TAB_GROUP=1`.
Fixed and improved
Label locators recognize form-associated custom elements using both `for` attributes and nested labels.
Snapshots retain container and table-header names even when the naming text appears among children; custom controls use associated labels and mixed-case selected options contribute their text.
`browser_evaluate` preserves BigInt, `NaN`, `Infinity`, `undefined` and circular objects. Settle waits no longer hang when page timers cannot run; server-launched browsers preserve HTTP navigations.
Extension connections honor merged executable paths, preserve browser fonts and report lost tabs or debugger detachment without crashing. Linux profile lookup respects `CHROME_USER_DATA_DIR`, `CHROME_CONFIG_HOME` and `XDG_CONFIG_HOME`.
Channel-based `--cdp-endpoint` connections use the WebSocket path advertised in `DevToolsActivePort`.
Exceptions from page/context listeners installed through `browser_run_code_unsafe` appear in tool responses and `browser_console_messages` instead of escaping as unhandled errors.
Headless Chrome and Edge account for tabs and toolbar when sizing the window, preventing recordings from losing the bottom of the page.
`browser_take_screenshot` with `fullPage: true` works on standalone SVG documents without waiting for an HTML body.
Seeded by @iluxav with Codex, from the release's public sources. Each change links to its evidence.