wavexis_annotated_screenshot
Takes a screenshot of a web page with numbered labels overlaid on specified CSS selectors, returning the image and a label-to-selector map.
Instructions
Take a screenshot with numbered labels overlaid on elements.
Injects overlay divs with labels @e1, @e2, ... on each element matching the provided selectors, captures a screenshot, removes the overlays, and returns the image plus a label-to-selector map.
Args: input: Annotated screenshot parameters (selectors, format).
Returns:
JSON string with base64 image data or file path, plus labels map.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |