Click
clickClicks on web elements using CSS selector, text, or ARIA role with accessible name to interact with pages during browser-based verification sessions.
Instructions
Clicks an element, located either by CSS/text selector or by ARIA role (optionally with name).
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": {
"sessionId": "<sessionId>"
},
"name": "click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Accessible name to match, used together with `role` | |
| role | No | ARIA role, e.g. 'button', 'link' | |
| timeout | No | Max time to wait for the element, in milliseconds | |
| selector | No | CSS or Playwright text selector | |
| sessionId | Yes |