Click or hover an element
browser_clickPerform click, double-click, right-click, or hover on any page element. Waits for the element to become actionable, then returns a page snapshot.
Instructions
Click, double-click, right-click or hover an element. Waits for it to be actionable first. Returns a snapshot of the page afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | click | |
| target | Yes | How to find the element. Give exactly one primary strategy (plus `name` with `role`). | |
| timeout | No | ||
| tabIndex | No | Act on this tab just for this call, without changing which tab is active. Defaults to the active tab. To switch tabs for good, use browser_tabs with action 'select'. | |
| modifiers | No | Held while clicking — e.g. Control to open a link in a new tab. | |
| profileId | Yes | Browser profile id, as passed to start_profile. |