Browser Click
browser_clickClicks any web element by CSS selector, waiting for visibility and page stabilization after interaction. Handles buttons, links, menus, checkboxes, and iframes.
Instructions
Click any element on the page by CSS selector — buttons, links, menus, dropdowns, checkboxes, tabs, etc. Examples: "#submit-btn", "button[type=submit]", ".nav-link", "a.login". Waits for the element to be visible, clicks it, then waits for the page to stabilize (handles AJAX, animations, re-renders). Use browser_get_dom first if you need to find the right selector. To click inside an iframe, pass frameIndex from browser_frames (this always uses the simple DOM-click path, since humanClick's mouse simulation only works on the main page). To reach into shadow DOM, prefix the selector with "pierce/" instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Force a specific mode. Defaults to extension. | |
| selector | Yes | CSS selector of the element to click. Prefix with "pierce/" to reach into shadow DOM. | |
| sessionId | No | Puppeteer session ID for headless mode. Skips mode selection. | |
| frameIndex | No | Target a specific iframe by index (from browser_frames) instead of the main page. | |
| humanClick | No | If true (default), simulates full human-like mouse event chain: mouseover → mouseenter → mousemove → mousedown → focus → mouseup → click. Required for Select2/jQuery dropdowns, custom widgets, and JS-heavy UIs. Set false for simple links/buttons. Ignored (always simple click) when frameIndex is set. |