select_option
Choose one or multiple options in native or Select2 dropdowns by CSS selector, value, or label. Identifies React-Select widgets to guide using the appropriate UI method.
Instructions
Choose option(s) in a native or a Select2 widget.
Pass several values for a multi-select. If the element turns out to be a React-Select style widget with no underlying , this says so and you should use select_option_ui instead.
Args: selector: CSS selector for the . values: Option values or labels to select. tab_id: Exact tab id. url_pattern: Regex matched against tab URLs. by: Match options by 'value', 'label', or 'auto' (either). nth: Which match to use, 0-based.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | auto | |
| nth | No | ||
| tab_id | No | ||
| values | Yes | ||
| selector | Yes | ||
| url_pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |