Click, type, select or press Enter
browser_actAct on web pages by clicking elements, typing text, selecting options, or pressing Enter. Confirms each resolved element and supports verification with subsequent checks.
Instructions
Act on the page: click (by id from the digest/find, or "x,y"), type (into the focused element — click it first), select a native single-select option by target id and exactly one of value or label (exact, unique match), or enter. Click and select auto-scroll and CONFIRM role/name of the resolved element: read that echo before continuing. Select refuses non-native, multiple, disabled, hidden or covered controls and disabled/ambiguous options. It dispatches input/change when the option changes, does not echo the supplied choice, omits choice arguments from audit logs, and preserves the observation baseline. Privacy rules and readonly policy apply. After EVERY action, call browser_verify, even when select reports selectionChanged:false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | REQUIRED for type: the text to type into the focused element | |
| label | No | Select only: exact visible option label. Cannot be combined with value. | |
| value | No | Select only: exact option value, including an empty string. Cannot be combined with label. | |
| action | Yes | click REQUIRES target; type REQUIRES text; select REQUIRES target and exactly one of value/label; enter needs neither | |
| target | No | REQUIRED for click/select: id n_xxx from digest/find. Click also accepts "x,y". | |
| sessionId | No | optional: the session this call belongs to (from browser_session_open). Omitted uses the shared default session. |