screenshot_by_uid
Capture a screenshot of a specific element identified by its UID. Returns the image as a base64-encoded PNG or saves to a specified file path.
Instructions
Capture element screenshot by UID as base64 PNG.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Element UID from snapshot | |
| saveTo | No | Optional file path to save the screenshot to instead of returning it as image data in the response. |