playwright_click
Clicks a web page element using a CSS selector to automate interactions, with optional mouse button and click count for testing and scraping.
Instructions
Click an element on 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": {
"selector": "<selector>"
},
"name": "playwright_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | No | Mouse button to use | |
| selector | Yes | CSS selector of element to click | |
| clickCount | No | Number of clicks |