safari_select_option
Select an option in a native select dropdown by value or label. Supports selects inside iframes and shadow DOM using a ref from snapshot.
Instructions
Select an option in a native dropdown. Sets .value and dispatches change event. Pass ref (from safari_snapshot) for a select inside an iframe or shadow DOM — a plain selector only reaches the top document. For custom dropdowns (React/LinkedIn), use safari_click on the dropdown trigger, then safari_click on the option instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | CSS selector of the select (top document only) | |
| ref | No | Ref ID from safari_snapshot — required for selects inside iframes/shadow DOM | |
| value | Yes | Option value or visible label to select |