click_selector
Click a webpage element by CSS selector using real coordinate input via CDP, triggering trusted browser events for reliable automation.
Instructions
click_selector(".btn") — CDP 真实坐标点击 (isTrusted:true)
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": {
"sel": "<sel>"
},
"name": "click_selector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sel | Yes | ||
| tab | No |