click_element
Click a web element by locating it with a selector strategy (CSS, XPath, ID, name, text, partialText) to automate browser interactions and complete UI actions.
Instructions
Click an element matching selector strategy (css, xpath, id, name, text, partialText).
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_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | Selector or value to identify the element | |
| strategy | No | Strategy to find element (css, xpath, id, name, tag, class, text, partialText). Default: css | css |
| timeoutMs | No | Wait timeout in milliseconds (default: 10000) |