browser_screenshot_element
Capture a screenshot of a specific DOM element using a CSS selector to visually verify or document a single page component.
Instructions
Take a screenshot of a specific DOM element identified by a CSS selector
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selector": "<selector>"
},
"name": "browser_screenshot_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector of the target element |