sincecutoff.com
← all changes

playwright-mcp browser_find searches accessibility snapshots

Introduced 2026-07-09 · score 0.97

HOW TO USE IT

When locating an element in the current page’s accessibility snapshot, call `browser_find` with exactly one of `text` or `regex`; use the returned node’s ref as the element target.

browser_find { text: "<text to find>" }
browser_find { regex: "/<pattern>/<flags>" }

WHY THIS HELPS

Locate an element in the current page when inspecting a repository’s browser-based UI.

REQUIREMENTS AND LIMITATIONS

  • Version: v0.0.78
  • text: Plain text search; case-insensitive substring match. Provide exactly one of `text` or `regex`.
  • regex: Regular expression search; case-sensitive by default. Slash-delimited patterns can include flags. Provide exactly one of `regex` or `text`.
  • Prerequisite: The Playwright MCP server requires Node.js 18 or newer and an MCP client; `browser_find` is a core tool.
  • Searches the accessibility snapshot of the current page.
  • Returns matching snapshot nodes with a few lines of surrounding context.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card