select_option_ui
Choose an option from a React-Select or Headless UI dropdown by opening the menu and clicking the desired text, solving dynamic menus that are unavailable to direct JavaScript calls.
Instructions
Choose an option in a React-Select / Headless UI dropdown by driving its UI.
These have no to set, so the menu is opened, awaited, and the option clicked — which cannot be done in a single JavaScript call because the menu does not exist yet when the click would fire.
Args: control_selector: CSS selector for the control that opens the menu. option_text: Visible text of the option to choose. tab_id: Exact tab id. url_pattern: Regex matched against tab URLs. option_selector: Override the option selector if the defaults miss. timeout_ms: How long to wait for the menu to appear.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | No | ||
| timeout_ms | No | ||
| option_text | Yes | ||
| url_pattern | No | ||
| option_selector | No | ||
| control_selector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |