click_and_wait
Click a page element and wait for navigation or a target selector to appear, reducing roundtrips by combining both actions into one atomic step.
Instructions
Click element then wait for navigation or selector. Atomic — fewer roundtrips than separate click + wait_for.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "click_and_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| selector | No | ||
| timeout_ms | No | ||
| wait_for_url | No | URL substring to wait for after click | |
| wait_for_selector | No | Selector to wait for after click |