Skip to main content
Glama

firefox-devtools-mcp

take_snapshot

Capture a textual page snapshot with stable element UIDs for reliable browser automation. Use the generated UIDs to interact with page elements consistently across navigation and DOM changes.

Instructions

Capture a textual page snapshot with stable UIDs for elements. Always take a fresh snapshot after navigation or major DOM changes. TIP: Use the UIDs with click_by_uid / fill_by_uid / hover_by_uid. The output may be truncated for readability.

Input Schema

NameRequiredDescriptionDefault
includeAttributesNoInclude detailed ARIA and computed attributes in output (default: false)
includeTextNoInclude text content in output (default: true)
maxDepthNoMaximum depth of tree to include (default: unlimited)
maxLinesNoMaximum number of lines to return in output (default: 100)

Input Schema (JSON Schema)

{ "properties": { "includeAttributes": { "description": "Include detailed ARIA and computed attributes in output (default: false)", "type": "boolean" }, "includeText": { "description": "Include text content in output (default: true)", "type": "boolean" }, "maxDepth": { "description": "Maximum depth of tree to include (default: unlimited)", "type": "number" }, "maxLines": { "description": "Maximum number of lines to return in output (default: 100)", "type": "number" } }, "type": "object" }

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/freema/firefox-devtools-mcp'

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