click
Triggers a web page element using CSS, XPath, ID, name, tag, class, or link selectors to activate buttons, links, and interactive controls during browser automation.
Instructions
Click on an element.
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 |
|---|---|---|---|
| by | No | Strategy | css |
| timeout | No | Seconds | |
| selector | Yes | Locator value |