safari_react_select_set
Set a value in a react-select v5 dropdown by bypassing the menu UI and directly invoking onChange via React fiber. Use when clicking the chevron or option fails due to Cloudflare or portal-rendered selects.
Instructions
Set a value in a react-select v5 dropdown by walking React fiber to find the Select component and invoking onChange directly — bypasses the menu UI entirely. Use when safari_click on the chevron or option keeps failing (Cloudflare custom token forms after a few rows, portal-rendered selects that intercept synthetic events). Returns JSON {ok, selected} on success, or {ok:false, error, available:[…]} listing up to 30 option labels on miss. Match is by label, value, or case-insensitive label. Either ref or selector required. NOTE: For Permissions-levels combos that are disabled until a Permission is selected, set the Permissions value first — the level combo becomes enabled and its props.options populate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Ref ID from safari_snapshot | |
| value | Yes | Option label (or value) to select — case-insensitive fallback | |
| selector | No | CSS selector — typically input[name=...] or the .react-select__control container |