click
Performs a mouse press on a page element via ref or CSS selector, or on a viewport point via x/y, waiting until visible, enabled and uncovered; force skips checks.
Instructions
Click an element, or a viewport point with x,y. Waits until it is visible, enabled and not covered; force skips that.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| ref | No | ref from snapshot, e.g. e3 | |
| tab | No | tab id, defaults to current | |
| force | No | ||
| timeout | No | ||
| selector | No | CSS selector | |
| request_timeout | No | Outer page request deadline in milliseconds; defaults to at least 30000 |