Playwright MCP v0.0.85
Playwright MCP v0.0.85 adds options to keep browser tabs in the background and outside dedicated tab groups, introduces an opt-in setting to match only visible elements, and fixes several evaluation and snapshot handling issues.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Playwright MCP release v0.0.85 brings enhancements and bug fixes for browser-based tool interactions. Key additions include: - Background Browser Control: With extension v0.5.0+, users can supply --background (or PLAYWRIGHT MCP BACKGROUND=1 ) to prevent extension connections from stealing window focus and keep newly opened tabs in the background. Note that background tabs in Chrome face timer throttling. - Tab Group Configuration: Added --no-tab-group ( PLAYWRIGHT MCP NO TAB GROUP=1 ) to keep client tabs in their existing groups rather than isolating them in a Playwright tab group. - Visibility Locators: Added browser.contextOptions.locateOnlyVisible: true (default off) to automatically restrict locators in tools like browser click and browser run code unsafe to visible elements. - Accessibility and Snapshots: Retains container names in snapshots (dialogs, landmarks, tables) when headings/captions duplicate child text, supports native label association for custom form elements, and reverts v0.0.84 inert/modal snapshot filtering while maintaining inert action wait rules. - Evaluation and Robustness: browser evaluate now safely returns readable representations for non-JSON serializable values (BigInt, NaN, circular structures). Settle waits are now bounded against throttled/paused timers to avoid hangs, closed tabs report graceful errors instead of crashing snapshots, and config paths resolve relative to configuration file locations.
可执行摘要
Playwright MCP v0.0.85 introduces background extension connection flags (--background, --no-tab-group), adds browser.contextOptions.locateOnlyVisible: true to filter locators to visible elements, and restores snapshot visibility rules for inert and modal content (reverting v0.0.84 filtering). It also ensures browser evaluate preserves non-JSON types (BigInt, NaN, Infinity, undefined, circular objects) and bounds…
- Agent 实用度
- 62/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade to extension v0.5.0 or later if utilizing --background or --no-tab-group flags.
- Optionally enable browser.contextOptions.locateOnlyVisible: true in configuration to avoid matching hidden elements.
- Review tests and agent workflows relying on browser snapshot for modal or inert content following the v0.0.84 filtering reversion.
- Verify relative paths in configuration files, as they now resolve against the config file directory rather than the current working directory.