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
Name | Required | Description | Default |
---|---|---|---|
uid | Yes | The 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"
}