select
Choose a native HTML dropdown option by ref or locator, matching its value or visible label; for custom dropdowns, expand, read, then click.
Instructions
Choose an option in a by ref. value matches the option value or its visible label. Custom dropdowns (react-select, MUI, Element UI) are NOT : click to expand, read the options from the snapshot, click one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref from the latest snapshot, e.g. "e3" | |
| find | No | Locate by role+name from the snapshot instead of by ref. Survives re-renders. | |
| tabId | No | Target tab id. Omit to use the active controlled tab. | |
| value | Yes | ||
| expect | No | Expected result, checked within the settle window and reported if unmet: {checked, value, text: target contains, gone: target removed, appears: selector/text now on page} | |
| spaceId | No | Pin this command to an owned BeatBrowser TaskSpace. Also pass its tabId. | |
| snapshotId | No | snapshotId the ref came from |