click
Activate a page element by ref number or CSS selector, auto-scroll it into view, wait for any resulting navigation, and return the updated page content.
Instructions
Click an element by ref number (from get_page/navigate) or CSS selector. Scrolls it into view first and, if the click starts a navigation, waits for the new page. Returns the updated page content. For elements use fill_form instead.
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": "click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | No | Mouse button (default: left) | |
| selector | Yes | Element to click: a ref number from get_page/navigate (e.g. "3") or a CSS selector |