@playwright/mcp
0.0.86 · 18 Nov 2026Apache-2.011.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @playwright/mcp From 0.0.4 to 0.0.86
75 releases in betweennotes for 72
Counted from 72 of 75 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking0.0.79
- Breaking0.0.79
- Breaking0.0.31
- Breaking0.0.31
- Breaking0.0.31
Security
Fixes 1 advisory affecting 0.0.4
Release by release
- Security
- New
🗂️ Resume extension tab groups — the connection page now lets you select a whole tab group or several individual tabs, rather than one tab at a time. When a client disconnects, its group stays open and turns gray; select that group on the next connection to continue with the same tabs. The new Manage clients page replaces the status page and lists connected clients and their tabs, with controls to disconnect clients and rotate the token. Each tab has one owner, and dragging it between client groups transfers control. Browser-wide changes such as setting or clearing cookies and granting permissions are now refused, although clients can still read browser-wide data such as cookies. Requires the updated Playwright browser extension. (microsoft/playwright#44047)
- New
🐧 Install stable Chrome on Linux ARM64 — Playwright's Chrome installer now supports Linux ARM64 instead of rejecting that architecture. Install Chrome with
npx @playwright/mcp@0.0.86 install-browser chrometo use it with the server. (microsoft/playwright#44020) - Fixed
fix(mcp): keep downloads with the same filename— downloads triggered by browser tools no longer overwrite earlier files with the same suggested name. Collisions receive numeric suffixes, such asreport-1.pdf, including when the original file already exists. (microsoft/playwright#44011)
- New
🌙 Keep the browser in the background (microsoft/playwright#42973) — connecting through the extension activated the tab and focused the browser window, taking the screen from the app you were working in. Pass
--backgroundalongside--extension(configbackground: true, envPLAYWRIGHT_MCP_BACKGROUND=1) to leave the connected tab inactive and its window unfocused, and to open the client's new tabs in the background. WithPLAYWRIGHT_MCP_EXTENSION_TOKENset, the connect page opens in the background too (Chrome 158.0.8127.2 or later, with the browser already running). Requires extension 0.5.0 or later. Chrome throttles timers and animation frames in background tabs. (microsoft/playwright#43864) - New
🗂️ Leave tabs out of the Playwright tab group (microsoft/playwright#43038) — the extension always moved the tabs a client controls into its own tab group. Pass
--no-tab-groupalongside--extension(configtabGroup: false, envPLAYWRIGHT_MCP_NO_TAB_GROUP=1) to keep the selected tab and the tabs the client opens in their existing groups, if any. Connection approval is unchanged, each controlled tab still belongs to one client, and the extension's status page lists the controlled tabs. Requires extension 0.5.0 or later. (microsoft/playwright#43814) - New
👁️ Match only visible elements (microsoft/playwright#43855) — a locator could resolve to a hidden element, or fail because a hidden duplicate matched as well. Set
browser.contextOptions.locateOnlyVisible: truein the config file to restrict locators to visible elements, both in thetargetof element tools such asbrowser_clickand inbrowser_run_code_unsafe, as if.filter({ visible: true })ended each of them. A locator that ends with its own visibility filter keeps it. Off by default. (microsoft/playwright#43903) - New
🏷️ Keep container names in snapshots (microsoft/playwright#43809) — dialogs, landmarks and tables could appear unnamed even when their heading or caption was visible.
browser_snapshotnow retains identifying names on containers and table headers when the text supplying the name also appears among their children. (microsoft/playwright#43810)
- New
- New
👥 Separate sessions in one browser — work with multiple accounts without sharing their cookies or storage.
browser_tabswithaction: "new"now acceptsisolatedContext: "<name>": tabs with the same name share a context, while different names stay isolated. Omit it or use"default"for the default context. Cookie and storage tools operate on the current tab's context. (microsoft/playwright#43087) - New
🙈 Redact runtime values in URLs (#1791) — session and grant values minted at runtime cannot be listed in a secrets file ahead of time.
--redact-url-params=access_token,code(configredactUrlParams, envPLAYWRIGHT_MCP_REDACT_URL_PARAMS) replaces the named query and fragment parameter values with<redacted>in tool responses. Likesecrets, this is a convenience, not a security feature. The extension also removes its connection token from the connect page URL after reading it. (microsoft/playwright#43258) - New
🔎 Bound find results (microsoft/playwright#42077) — common search terms no longer have to fill the response with every match.
browser_findaccepts a positive integermaxResults, returns the first matching items with their context, and reports the total match count. Omit it to keep returning all matches; ancestor paths are unchanged. (microsoft/playwright#42947) - New
🌐 Inspect requests across navigations (microsoft/playwright-cli#479) — requests from the previous page are no longer lost as soon as a flow navigates.
browser_network_requestsacceptsall: trueto include retained history, keeping up to 200 requests from earlier navigations. Request indexes stay stable across navigations forbrowser_network_request.browser_console_messagesalso reports counts consistent with its existingalloption. (microsoft/playwright#43526)
- New
- Fixed
browser_findtakesfilenameto save matches to a file instead of the response (microsoft/playwright#42077). (microsoft/playwright#42968) - Fixed
browser_navigateandbrowser_reloadreport a dialog opened during page load instead of timing out (microsoft/playwright#42817). (microsoft/playwright#42908) - Fixed
The server no longer crashes when the browser is closed during a download (microsoft/playwright#42831). (microsoft/playwright#42922)
- Fixed
browser_wait_forreports whentimeis capped at 30 seconds (#1767). (microsoft/playwright#42932)
- Fixed
- New
🎬 Smooth 60 fps, styleable videos —
browser_start_video(opt-in via--caps=devtools) takesfps, sofps: 60records smooth 60 fps videos instead of the default 25, andcursor: truerenders an animated mouse cursor that travels to each action point and stays visible between actions.browser_video_show_actionstakes astylewithpoint,highlightandtitleCSS declarations; the action point marker and the target highlight are now only shown when styled. (microsoft/playwright#42752, microsoft/playwright#42758) - New
🧰 WebMCP tools become real MCP tools — the tools a page registers through the WebMCP API now show up right in the tool list as
webmcp_<tool>, with the page's own input schema and annotations, so an agent can call them directly and let the page do the work instead of driving its UI. The list follows the current tab, and clients get atools/list_changednotification when it changes. This replacesbrowser_webmcp_list/browser_webmcp_callfrom v0.0.81, which are no longer exposed over MCP. Tool names, descriptions, schemas and results come from the page, so treat them as untrusted input. Pass--no-webmcp(configwebmcp: false, envPLAYWRIGHT_MCP_WEBMCP=false) to opt out. WebMCP is experimental, see WebMCP in Chrome for how to enable it. (microsoft/playwright#42671) - New
🌗 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. The new
browser_emulate_mediatool emulates media features on the fly:colorScheme,reducedMotion,forcedColors,contrastand themediatype (screen / print). Omitted parameters are left unchanged,nullclears an override. (microsoft/playwright#42668) - New
📁 Absolute paths in results (microsoft/playwright#42497) — links to snapshots, screenshots, console logs and downloads are relative to the workspace root, which a client without one cannot resolve. Pass
--file-paths=absolute(configfilePaths: "absolute", envPLAYWRIGHT_MCP_FILE_PATHS=absolute) to get absolute paths instead. (microsoft/playwright#42673) - Fixed
fix(mcp): keep upload modal and reject bad headers— a failedbrowser_file_upload(e.g. a missing file) reports the error and keeps the file chooser open so it can be retried, andbrowser_route(opt-in via--caps=network) returns an error for a header that is not in theName: Valueform instead of setting a header named"". (microsoft/playwright#42713) - Fixed
fix(chromium): bypass service workers on the storage state page—browser_storage_state(opt-in via--caps=storage) no longer runs the site's own scripts, or fails when they redirect, for origins with an active service worker (microsoft/playwright#42656). (microsoft/playwright#42664, microsoft/playwright#42741)
- New
- New
browser_webmcp_list/browser_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. - New
New
--profile-dir-name <name>option (envPLAYWRIGHT_MCP_PROFILE_DIR_NAME) selects the Chrome profile to connect to in extension mode when the extension is installed in several profiles, for example"Profile 1" - New
Headless browsers launched by the server are now closed after one hour without tool calls; the next tool call launches a new one. Use
--idle-timeout <ms>(configtimeouts.idle, envPLAYWRIGHT_MCP_IDLE_TIMEOUT) to change the timeout,0disables it. Headed and attached browsers are not closed unless a timeout is set explicitly (#42663, #42676) - New
--image-responsesacceptsonly: a response that carries an image consists of the image parts alone, without the text part
- New
- New
browser_start_recording/browser_stop_recording(opt-in via--caps=devtools) — 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 - Fixed
The default
--codegenlanguage is inferred from the environment - Fixed
Honor
--user-data-dirin extension mode - Fixed
Do not treat orphaned browser preferences entries as an installed extension
- New
- Breaking
Removed the stale
--output-modeCLI option - Breaking
Removed support for extension protocol v1
- New
browser_take_screenshot— WebP format — Newtypeoption to pick the image format (png,jpegorwebp); when unset, the format is inferred from the filename extension - New
--codegen— more languages — Code generation now supportspython,javaandcsharpin addition totypescript
- Breaking
32 other lines we could not sort, mostly version bumps
- 0.0.70
Maintenance release off 1.59 branch point
- 0.0.67
Our Google Chrome extension is now available in the Chrome Web Store: Playwright MCP Bridge
- 0.0.63
Persisting login sessions
- 0.0.63
Debugging auth and feature flags
- 0.0.63
Sharing reproducible browser state across runs
- 0.0.63
Frontend development without a backend
- 0.0.63
Offline and error-state testing
- 0.0.63
Snapshot stability and deterministic rendering
- 0.0.63
Browser profile lives only in memory
- 0.0.63
Nothing persisted to disk
20 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.