click_and_snapshot
Click a page element by reference, wait a set time, and retrieve the updated snapshot. Use it to handle buttons that open dialogs or navigate to new pages.
Instructions
Click element by ref + wait + return snapshot. Perfect for buttons that trigger navigation/dialog.
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": {
"ref": "<ref>"
},
"name": "click_and_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Element ref from browser_snapshot | |
| wait_ms | No | Wait after click before snapshot |