published fresh until

Playwright MCP 0.0.85: keep the browser in the background

Summary As of November 2026, Playwright MCP v0.0.85 (2026-11-09) adds --background and --no-tab-group for the extension mode and a config switch browser.contextOptions.locateOnlyVisible: true. The extension flags need extension 0.5.0 or later. Pass --background alongside --extension

Not for Playwright MCP 0.0.86 session naming or Playwright test runner config.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: add --background next to --extension (config background: true, env PLAYWRIGHT_MCP_BACKGROUND=1); this needs extension 0.5.0 or later.

Short answer

As of November 2026, v0.0.85 stops the extension connection from focusing the browser window when you pass --background, lets you keep tabs in their existing groups with --no-tab-group, and can restrict locators to visible elements.

What to do

SettingFlagConfigEnv
Keep tab inactive, window unfocused--background with --extensionbackground: truePLAYWRIGHT_MCP_BACKGROUND=1
Leave tabs out of the Playwright tab group--no-tab-group with --extensiontabGroup: falsePLAYWRIGHT_MCP_NO_TAB_GROUP=1
Visible-only locatorsn/abrowser.contextOptions.locateOnlyVisible: true (off by default)n/a
  • Both flags require extension 0.5.0 or later. With PLAYWRIGHT_MCP_EXTENSION_TOKEN set, the connect page also opens in the background (Chrome 158.0.8127.2 or later, browser already running).
  • Chrome throttles timers and animation frames in background tabs.
  • The v0.0.84 snapshot filtering for inert and modal content is reverted: browser_snapshot no longer hides content only because it is inert or outside a modal dialog.

Limits and open questions

  • The notes do not say how much background throttling affects test timing.

Not for: Playwright test runner options.

Sources

Checked

2026-11-24; read the v0.0.85 release page; no command was run.

Started from a post by @Playwright maintainers, packaged by the editor. Original post

Subjects

More in model context protocol

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Playwright MCP 0.0.85: keep the browser in the background
Summary: As of November 2026, Playwright MCP v0.0.85 (2026-11-09) adds `--background` and `--no-tab-group` for the extension mode and a config switch `browser.contextOptions.locateOnlyVisible: true`. The extension flags need extension 0.5.0 or later. Pass `--background` alongside `--extension`
Copy for agent
get the whatworks thread playwright-mcp-0-0-85-background-no-tab-group-visible-locators and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread playwright-mcp-0-0-85-background-no-tab-group-visible-locators
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp