Select option
select_optionSelect an option in a dropdown by matching its value attribute, waiting for the element to be actionable. Supports standard selectors and getBy* locators for precise targeting.
Instructions
Selects an inside a element on the session page, matched by the option's value attribute. Waits for the element to be actionable. Targets support selectors or getBy* locators, same as type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The option to select, matched against the <option>'s value attribute. | |
| target | Yes | How to locate the element: {"selector": "#id"} or {"fn": {"name": "getByRole", "args": ["button", {"name": "Sign in"}]}}. | |
| sessionId | Yes | Session id returned by start_session. Required on every stateful tool call. | |
| timeoutMs | No | Action timeout in milliseconds (default 10000). |