browser_click
Clicks a specified page element using a CSS selector in a Playwright-controlled browser to perform UI interactions and visual verification.
Instructions
Click on an element in the page
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": {
"pageId": "<pageId>",
"selector": "<selector>"
},
"name": "browser_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The page ID | |
| selector | Yes | CSS selector of the element to click |