dev_click
Click a UI element in the Unflick window after waiting for its CSS selector; obstructed or ambiguous matches are refused, so failed clicks are not reported as success.
Instructions
Click an element in the unflick window. Polls for the selector first, so a click issued right after an action does not race the render, then hit-tests the point before dispatching: if something else is on top, the click is refused and the covering element is named rather than reported as a success. A selector matching several elements is refused unless index says which.
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": "dev_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Which match, 0-based, when the selector is ambiguous. | |
| selector | Yes | CSS selector. Take it from dev_snapshot. | |
| timeout_seconds | No | How long to wait for the selector to appear. Default 5. |