browser_click
Click web page elements using CSS selectors, XPath, or text patterns for browser automation in Daytona Playwright MCP Server.
Instructions
Click on an element on the page.
Supports CSS selectors, XPath, and text selectors. Examples:
CSS: "button.primary", "#submit-btn", "[data-testid='login']"
XPath: "//button[@type='submit']"
Text: "text=Sign In", "text=Submit"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector, XPath, or text to click (e.g., 'button.submit', '//button[@id="login"]', 'text=Sign In') | |
| button | No | Mouse button to use | left |
| click_count | No | Number of clicks (1 for single, 2 for double) | |
| timeout | No | Timeout in milliseconds |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |