highlight
Scrolls a CSS selector into view and paints a CDP overlay to visually locate UI elements; set durationMs to auto-hide the marker.
Instructions
Scroll a CSS selector into view and paint a CDP overlay highlight (auto-hides when durationMs > 0)
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": "highlight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | ||
| targetId | No | ||
| processId | No | Target process ID. Omit if only one app is running. | |
| durationMs | No |