Click Element
chrome_clickClicks a page element found by CSS selector, with a configurable wait timeout, so automated Chrome tests can trigger buttons, menus, and links.
Instructions
Click an element on the page.
Finds an element by CSS selector and clicks it.
Args:
selector (string): CSS selector of element to click (required)
timeout (number): Maximum wait time for element (default: 5000)
Returns: Confirmation of click action.
Examples:
Click button: { selector: ".dx-button" }
Click menu item: { selector: "[data-testid='menu-item']" }
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": "chrome_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Maximum wait time for element | |
| selector | Yes | CSS selector of element to click |