Skip to main content
Glama
SJMakin

even-better-playwright-mcp

by SJMakin

browser_search_snapshot

Search browser snapshots using regex patterns to locate specific elements without reloading entire pages. This tool helps find matching lines in compressed DOM snapshots for efficient web automation.

Instructions

Search current snapshot with regex.

Requires: Call snapshot first. Returns: Matching lines with refs.

Options:

  • pattern: Regex pattern to search for

  • ignoreCase: Case-insensitive matching (default: false)

  • lineLimit: Max lines to return (default: 100)

Use this to find specific elements in large pages without re-reading the entire snapshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patternYesRegex pattern to search for in the snapshot
ignoreCaseNoWhether to ignore case when matching
lineLimitNoMaximum number of lines to return (1-100)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SJMakin/even-better-playwright-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server