Packages

@playwright/mcp

0.0.86 · 18 Nov 2026Apache-2.011.3M / weekRepositoryHomepagenpmAtom feed

Upgrading @playwright/mcp From 0.0.29 to 0.0.86

55 releases in betweenevery note read

Other targets from 0.0.29Clears its advisory0.0.40
  1. 0.0.29yours
  2. 1 release
  3. 0.0.31breaking
  4. 45 releases
  5. 0.0.79breaking
  6. 6 releases
  7. 0.0.86target
  8. 3 pre

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

  • fix(docker): refresh the runtime image — the image now uses Ubuntu Noble with a pinned Node.js 26 runtime, installs libatomic1 required by Node.js, and upgrades base packages during the build to pick up available security fixes. (#1852, #1857, #1866, #1867)

    0.0.86

Release by release

  1. 0.0.86

    Security fix18 Nov 20262 new · 8 fixes
    • Security

      fix(docker): refresh the runtime image — the image now uses Ubuntu Noble with a pinned Node.js 26 runtime, installs libatomic1 required by Node.js, and upgrades base packages during the build to pick up available security fixes. (#1852, #1857, #1866, #1867)

    • 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 chrome to 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 as report-1.pdf, including when the original file already exists. (microsoft/playwright#44011)

  2. 0.0.85

    9 Nov 20265 new · 15 fixes
    • 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 --background alongside --extension (config background: true, env PLAYWRIGHT_MCP_BACKGROUND=1) to leave the connected tab inactive and its window unfocused, and to open the client's new tabs in the background. With PLAYWRIGHT_MCP_EXTENSION_TOKEN set, 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-group alongside --extension (config tabGroup: false, env PLAYWRIGHT_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: true in the config file to restrict locators to visible elements, both in the target of element tools such as browser_click and in browser_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_snapshot now retains identifying names on containers and table headers when the text supplying the name also appears among their children. (microsoft/playwright#43810)

  3. 0.0.84

    31 Oct 20267 new · 20 fixes
    • New

      👥 Separate sessions in one browser — work with multiple accounts without sharing their cookies or storage. browser_tabs with action: "new" now accepts isolatedContext: "<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 (config redactUrlParams, env PLAYWRIGHT_MCP_REDACT_URL_PARAMS) replaces the named query and fragment parameter values with <redacted> in tool responses. Like secrets, 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_find accepts a positive integer maxResults, 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_requests accepts all: true to include retained history, keeping up to 200 requests from earlier navigations. Request indexes stay stable across navigations for browser_network_request. browser_console_messages also reports counts consistent with its existing all option. (microsoft/playwright#43526)

  4. 0.0.83

    28 Sep 20268 fixes
  5. 0.0.82

    18 Sep 20264 new · 2 fixes
    • New

      🎬 Smooth 60 fps, styleable videos — browser_start_video (opt-in via --caps=devtools) takes fps, so fps: 60 records smooth 60 fps videos instead of the default 25, and cursor: true renders an animated mouse cursor that travels to each action point and stays visible between actions. browser_video_show_actions takes a style with point, highlight and title CSS 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 a tools/list_changed notification when it changes. This replaces browser_webmcp_list / browser_webmcp_call from 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 (config webmcp: false, env PLAYWRIGHT_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_media tool emulates media features on the fly: colorScheme, reducedMotion, forcedColors, contrast and the media type (screen / print). Omitted parameters are left unchanged, null clears 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 (config filePaths: "absolute", env PLAYWRIGHT_MCP_FILE_PATHS=absolute) to get absolute paths instead. (microsoft/playwright#42673)

    • Fixed

      fix(mcp): keep upload modal and reject bad headers — a failed browser_file_upload (e.g. a missing file) reports the error and keeps the file chooser open so it can be retried, and browser_route (opt-in via --caps=network) returns an error for a header that is not in the Name: Value form 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)

  6. 0.0.81

    14 Sep 20264 new · 6 fixes
    • 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 (env PLAYWRIGHT_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> (config timeouts.idle, env PLAYWRIGHT_MCP_IDLE_TIMEOUT) to change the timeout, 0 disables it. Headed and attached browsers are not closed unless a timeout is set explicitly (#42663, #42676)

    • New

      --image-responses accepts only: a response that carries an image consists of the image parts alone, without the text part

  7. 0.0.80

    1 Sep 20261 new · 9 fixes
    • 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 --codegen language is inferred from the environment

    • Fixed

      Honor --user-data-dir in extension mode

    • Fixed

      Do not treat orphaned browser preferences entries as an installed extension

  8. 0.0.79

    Migration needed6 Aug 20263 new · 12 fixes
    • Breaking

      Removed the stale --output-mode CLI option

    • Breaking

      Removed support for extension protocol v1

    • New

      browser_take_screenshot — WebP format — New type option to pick the image format (png, jpeg or webp); when unset, the format is inferred from the filename extension

    • New

      --codegen — more languages — Code generation now supports python, java and csharp in addition to typescript

31 other lines we could not sort, mostly version bumps
  • Maintenance release off 1.59 branch point

    0.0.70
  • Our Google Chrome extension is now available in the Chrome Web Store: Playwright MCP Bridge

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

    0.0.63

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