select_option
Choose an option from a native dropdown in an open tab by specifying the dropdown's ref and the option's label or value. Works with elements only.
Instructions
Choose an option in a dropdown (a native / combobox) in an open tab, by the dropdown's ref and the option's label or value.
This is ONLY for dropdowns. For radio buttons, checkboxes, links and ordinary buttons, use click instead. A radio "Large" or a checkbox "Onion" is clicked, not selected.
Args: tab_id: The handle from open_tab. ref: The ref of the dropdown element (the combobox/select), from the latest read_tab. Note: if the dropdown has no [eN] ref in the snapshot, it cannot be selected. value: The option to choose, by its visible label or value (e.g. "Belgium (nl)").
Returns: JSON with the resulting url and fresh ref count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | Yes | ||
| value | Yes | ||
| ref | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |