Skip to main content
Glama

firefox-devtools-mcp

screenshot_by_uid

Capture PNG screenshots of specific web elements using their unique identifier (UID) for automated testing and debugging workflows.

Instructions

Capture a PNG screenshot of a specific element by UID and return it as a base64 string (without data: prefix). TIP: Take a fresh snapshot if the UID is stale.

Input Schema

NameRequiredDescriptionDefault
uidYesThe UID of the element to screenshot

Input Schema (JSON Schema)

{ "properties": { "uid": { "description": "The UID of the element to screenshot", "type": "string" } }, "required": [ "uid" ], "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