click
Click a web page element by CSS selector or element reference, with options for button, click count, and trusted OS-level input.
Instructions
Click an element (target by selector or a snapshot ref). trusted=true uses real OS-level input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref from a prior read (exactly one of selector|ref) | |
| tabId | No | Target tab id (defaults to the active tab) | |
| button | No | ||
| trusted | No | ||
| selector | No | CSS selector (exactly one of selector|ref) | |
| clickCount | No |