@playwright/mcp
0.0.86 · 18 Nov 2026Apache-2.011.3M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgrade- 0.x0.0.86No known advisoryLatest line
Latest releases
All 79 releases0.0.86
18 Nov 2026🗂️ 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)
🎨 Name and color extension sessions — distinguish clients working in the same browser with
--session-name <name>(configsessionName, envPLAYWRIGHT_MCP_SESSION_NAME) and--session-color <color>(configsessionColor, envPLAYWRIGHT_MCP_SESSION_COLOR) alongside--extension. Supported colors are blue, red, yellow, green, pink, purple, cyan and orange. Without overrides, new groups usePlaywright · <client name>and the first unused color. Requires the updated Playwright browser extension. (microsoft/playwright#44047)
Highlights
🗂️ 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)
🎨 Name and color extension sessions — distinguish clients working in the same browser with
--session-name <name>(configsessionName, envPLAYWRIGHT_MCP_SESSION_NAME) and--session-color <color>(configsessionColor, envPLAYWRIGHT_MCP_SESSION_COLOR) alongside--extension. Supported colors are blue, red, yellow, green, pink, purple, cyan and orange. Without overrides, new groups usePlaywright · <client name>and the first unused color. Requires the updated Playwright browser extension. (microsoft/playwright#44047)🐧 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)
Fixes
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)fix(mcp): do not wait for busy pages longer than 10s when connecting over CDP— a tab with an unresponsive renderer no longer blocks--cdp-endpointconnections indefinitely; attachment to that page is limited to 10 seconds so responsive tabs remain usable (microsoft/playwright#44052). (microsoft/playwright#44105)fix(locator): select among visible elements in first/last/nth with locateOnlyVisible— withbrowser.contextOptions.locateOnlyVisible: true, targets and locators inbrowser_run_code_unsafeapply.first(),.last()and.nth()to the visible matches instead of selecting a hidden match and then filtering it out. Explicit visibility filters still take priority. (microsoft/playwright#44083)fix(mcp): validate run-code input—browser_run_code_unsafereturns an explicit error when neithercodenorfilenameis supplied (microsoft/playwright#44080). (microsoft/playwright#44087)fix(mcp): do not generate setFiles(undefined) when file chooser is cancelled— callingbrowser_file_uploadwithoutpathscancels the chooser without emitting invalid upload code or clearing the previously selected files (microsoft/playwright#44091). (microsoft/playwright#44104)fix(mcp): clarify browser_close closes all tabs— thebrowser_closedescription now states that it closes the browser and all open tabs, and its reported code isawait browser.close();rather thanpage.close(). This corrects the description and output, not the existing browser-wide behavior; usebrowser_tabswithaction: "close"to close one tab (#1864). (microsoft/playwright#44157)fix(mcp): suggest the matching FFmpeg installer for video recording— whenbrowser_start_video(opt-in via--caps=devtools) cannot find FFmpeg, its error retains the expected executable path and points tonpx @playwright/mcp install-browser ffmpeg. (microsoft/playwright#44088)fix(chromium): apply timezone to service workers— Chromium service workers now honorbrowser.contextOptions.timezoneId, keeping their dates and times consistent with the pages controlled by the server. (microsoft/playwright#44021)- Security
fix(docker): refresh the runtime image— the image now uses Ubuntu Noble with a pinned Node.js 26 runtime, installslibatomic1required by Node.js, and upgrades base packages during the build to pick up available security fixes. (#1852, #1857, #1866, #1867)
Upgrading
Node.js 20 or later is required. The package now declares the same minimum Node.js version as its Playwright dependencies, rather than advertising Node.js 18 support.
Configs that use
@playwright/mcp@latestpick this release up on the next client restart. To pin it:npx @playwright/mcp@0.0.86
0.0.85
9 Nov 2026Summary· from the note as AI read it
Read before upgrading: 2 changes to make.
Highlights
🌙 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)🗂️ 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)👁️ 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)🏷️ 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)🎯 Find custom form controls by label (microsoft/playwright#43898) — native
<label>associations were ignored for form-associated custom elements. Element tools now recognize these controls through targets such asgetByLabel('City'), and accessible names use the associated labels too. Bothforattributes and nested labels are supported. (microsoft/playwright#43900)
Fixes
fix(aria): restore snapshot visibility rules for inert and modal content— the filtering announced in v0.0.84 is reverted:browser_snapshotno longer hides content solely because it is inert or outside a modal dialog. Click, fill and select actions still wait for explicitly inert targets to become non-inert (microsoft/playwright#43792). (microsoft/playwright#43850, microsoft/playwright#43851)fix(mcp): preserve non-JSON evaluation results—browser_evaluatereturns readable representations of values such as BigInt,NaN,Infinity,undefinedand circular objects instead of losing values or failing JSON serialization. JSON-compatible results keep their existing format (#1838). (microsoft/playwright#43973)fix(mcp): resolve config file paths relative to their source— profile, executable, storage-state, output and other file paths in a config resolve against that file's directory, or its target's directory for a symlink. CLI and environment paths remain relative to the working directory. Extension connections also honor the merged executable-path configuration (#1836). (microsoft/playwright#43970)fix(extension): report lost tab instead of crashing— tool responses report when a page closes before its snapshot can be captured. Extension connections also explain that Chrome may have detached the debugger because of an unsupported frame, rather than crashing response rendering (microsoft/playwright#43230). (microsoft/playwright#43863)fix(mcp): bound settle waits when page timers cannot run— tool calls no longer hang during their settling delay when page timers are throttled, paused or otherwise unable to run (microsoft/playwright#43752). (microsoft/playwright#43767)fix(mcp): report event listener exceptions as console errors— exceptions from page and context listeners installed throughbrowser_run_code_unsafeappear in tool responses andbrowser_console_messagesinstead of escaping as unhandled errors (microsoft/playwright#43770). (microsoft/playwright#43686)fix(mcp): validate device names and preserve device descriptors— unknown--devicevalues produce an explicit error, and per-client overrides no longer mutate shared device presets (#1834). (microsoft/playwright#43971)fix(mcp): report one-based console source lines— source locations inbrowser_console_messagesand console entries in tool responses now use editor-style line numbers starting at 1 (#1839). (microsoft/playwright#43975)fix(mcp): clarify screenshot actions with vision tools— thebrowser_take_screenshotdescription no longer rules out acting on a screenshot.browser_snapshotstays the default for actions; with--caps=vision, the description points to the coordinate-based mouse tools for elements that the snapshot does not expose, such as canvas content (#1816). (microsoft/playwright#43857)fix(aria): match mixed-case selected options in accessible names— snapshots and role locators include the selected option's text when a custom listbox uses a mixed-case value such asaria-selected="TRUE"(microsoft/playwright#43785). (microsoft/playwright#43787)fix(chromium): preserve fonts when connecting with noDefaults— extension connections no longer overwrite the existing browser's font settings, avoiding unexpected changes to page rendering (microsoft/playwright#43715). (microsoft/playwright#43773)fix(chromium): honor Linux config directories for channel connections— extension profile lookup respectsCHROME_USER_DATA_DIR,CHROME_CONFIG_HOMEandXDG_CONFIG_HOME. Channel-based--cdp-endpointconnections also use the WebSocket path advertised inDevToolsActivePort(microsoft/playwright#43880). (microsoft/playwright#43884)fix(chromium): preserve HTTP navigations across HTTPS upgrade modes— in browsers launched by the server,browser_navigatekeeps HTTP URLs on HTTP instead of Chrome automatically upgrading them to HTTPS (microsoft/playwright#43871). (microsoft/playwright#43877)fix(chromium): account for tabs and toolbar in the new headless mode— with--headless, Chrome and Edge now size their window to fit the viewport below the tab strip and toolbar, so videos frombrowser_start_video(opt-in via--caps=devtools) no longer lose the bottom of the page. (microsoft/playwright#43904)fix(screenshot): support full-page SVG documents—browser_take_screenshotwithfullPage: trueworks on standalone SVG documents instead of waiting for a nonexistent HTML body (microsoft/playwright#43962). (microsoft/playwright#43972)
0.0.84
31 Oct 2026👥 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)🙈 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)🔎 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)
Highlights
👥 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)🙈 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)🔎 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)🌐 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)🎯 Use locators in your language (#1797) — element tools such as
browser_clicknow accept JavaScript, Python, Java and C# locators intarget, alongside snapshot refs and CSS selectors. Invalid targets get an actionable error, including a reminder to pass the bare ref rather thanbutton [ref=e5]. (microsoft/playwright#43539)📂 Skip unsupported workspace-root requests (#1798) — clients that advertise roots but cannot answer
roots/listcan stall the first tool call. Pass--ignore-roots(configignoreRoots: true, envPLAYWRIGHT_MCP_IGNORE_ROOTS=true) to skip that request and use the server's current working directory as the workspace root. (microsoft/playwright#43532)🍪 Delete cookies by domain and path — deleting a cookie by name no longer has to remove every cookie with that name.
browser_cookie_delete(opt-in via--caps=storage) accepts optionaldomainandpathfilters to leave other domains and paths untouched. (microsoft/playwright#43319)
Fixes
fix(mcp): allow combining time, text and textGone in browser_wait_for— when combined with a text condition,timeis its timeout (capped at 30 seconds), not a delay before checking it. Supplying bothtextandtextGonenow waits for the first condition to happen, rather than both in sequence. (microsoft/playwright#43011)fix(mcp): allow loopback hosts by default for all bind addresses— HTTP clients can connect throughlocalhost,127.0.0.1or[::1]regardless of the bind address. Other hosts still require--allowed-hosts; binding to0.0.0.0prints a usable localhost URL. (microsoft/playwright#42993)fix(mcp): pass credentials from --proxy-server as proxy username/password— credentials embedded in the proxy URL are now passed to the browser as proxy authentication settings. (microsoft/playwright#43071)fix(mcp): race browser_navigate_back against modal states—browser_navigate_backreports a dialog opened during history navigation instead of timing out. (microsoft/playwright#43252)fix(mcp): normalize bare host URLs and loopback IP addresses—browser_navigatehandles scheme-less hosts with ports and uses HTTP for loopback addresses such as127.0.0.1:3000and[::1]:3000. (microsoft/playwright#43264)fix(mcp): do not close the browser twice when the client disconnects— stdio disconnects let the browser close gracefully instead of force-killing it through a second close request. Dashboard annotation processes also exit when their parent goes away. (microsoft/playwright#43174)fix(mcp): give each isolated client its own idle timer— with HTTP transport and--isolated, an idle client's context now expires even while another client keeps the shared browser busy. (microsoft/playwright#43527)fix(mcp): apply route headers without bypassing origin filters—browser_route(opt-in via--caps=network) matches added request header names case-insensitively, includes custom headers in mocked responses, and preserves origin filters and other routes when modifying request headers. (microsoft/playwright#43227, microsoft/playwright#43244, microsoft/playwright#43637)fix(mcp): correct cookie filtering and missing-domain errors—browser_cookie_list(opt-in via--caps=storage) matches domain and path boundaries instead of unrelated names such asnotexample.comor/apiary.browser_cookie_setasks for an explicitdomainwhen the current page has no hostname, such asabout:blank. (microsoft/playwright#43316, microsoft/playwright#43368, microsoft/playwright#43318)fix(mcp): accept Windows paths in browser_resume location—browser_resume(opt-in via--caps=devtools) no longer mistakes a Windows drive-letter colon for the line-number separator. (microsoft/playwright#43349)fix(mcp): report run-code route handler exceptions once and verbatim—browser_run_code_unsafereports a route handler's thrown value without duplicating it or wrapping non-Error values in another error. (microsoft/playwright#43203)fix(extension): release debugger when attach completes after connection close— disconnecting whilebrowser_tabsattaches to a new tab no longer leaves that tab attached to the extension's debugger. (microsoft/playwright#43025)fix(chromium): close pages that crashed before connecting over CDP— connecting through--cdp-endpointno longer stalls on an already crashed or discarded page; those pages are omitted from the tab list. (microsoft/playwright#43075)fix(aria): skip text nodes that are not rendered—browser_snapshotand accessible names omit unrendered text, including unslotted shadow-host text and text directly inside closed<details>. (microsoft/playwright#43150)fix(a11y): treat inert elements and content outside of modal dialogs as hidden— snapshots exclude inert content and content outside the topmost modal<dialog>. Click and fill actions wait for targets to stop being inert instead of silently misfiring. (microsoft/playwright#43211)fix(aria): do not count whitespace-only contributors as name sources— snapshots retain button names when whitespace around a hidden icon previously caused the name to disappear. (microsoft/playwright#43317)fix(aria): resolve label references consistently— snapshots and role locators recognize tab- or newline-separated label IDs and labels assigned throughariaLabelledByElements, while retaining attribute-based labels in older browsers. (microsoft/playwright#43361, microsoft/playwright#43577, microsoft/playwright#43722)fix(aria): quote ~, .inf and .nan in aria snapshots— YAML-like names remain strings rather than being parsed as null or special floating-point values. (microsoft/playwright#43469)fix(aria): preserve iframe snapshots with fallback text— snapshots retain an iframe's contents when the iframe element also contains fallback text. (microsoft/playwright#43635)fix(aria): match mixed-case roles and states— snapshots and role locators recognize mixed-caseroleand ARIA state values, including checked, pressed and expanded states. (microsoft/playwright#43727)
Upgrading
Configs that use
@playwright/mcp@latestpick this release up on the next client restart. To pin it:npx @playwright/mcp@0.0.84
Dependency tracking
Know when your own dependencies move
@playwright/mcp had 1 security advisory in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Registry facts last checked 20 Nov 2026. Releases and advisories last read 23 Nov 2026.
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.