browser_click
Clicks web page elements using a snapshot ref (e.g., 'e12'), CSS selector, text match, or ARIA role to trigger buttons, links, and form controls during automated browsing.
Instructions
点击元素。优先用 ref(来自 browser_snapshot,如 'e12');也支持 CSS 选择器 / text=文案 / role=名称
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": "browser_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | 快照中的元素编号,如 e12 | |
| selector | No | CSS 选择器 / text=文案 / role=名称(与 ref 二选一) |