capture_element_screenshot
Capture element-specific screenshots from live pages by targeting CSS selectors or node IDs, preserving exact geometry and device pixel ratio for accurate UI inspection.
Instructions
Capture an element-specific screenshot bounded to the target element exact geometry and device pixel ratio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | LogicalNodeId of the target element | |
| selector | No | CSS selector of the target element | |
| selectedElementRef | No | Selected element reference token |