Skip to main content
Glama

browser_snapshot

Capture accessibility tree snapshots of web pages to identify interactive elements for automated browser control and testing.

Instructions

Get an accessibility tree snapshot of the page. Returns element refs you can use with click, type, and other tools. Use compact mode (default) for smaller output - only interactive elements.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectorNoCSS selector to scope the snapshot
compactNoWhen true (default), returns only interactive elements with minimal nesting. Set false for full tree.

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/ofershap/real-browser-mcp'

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