# Select dropdown option

Node type `browser_selectElement`

## What it does

Choose an option in a dropdown control.

## Desktop client configuration

![Select dropdown option configuration in the desktop client](/assets/select-element.2b26c2eaab38546d3413fc82c1aabc90da388195399cabfd03067ca9ed9f15a5.0538f3a9.webp)

Captured in the English interface of MoreLogin Desktop V2.73.101.

## Inputs

These fields belong in `data.browserUi.inputs`.

| Field | Type or values | Schema required | Execution default | Description and bounds |
|  --- | --- | --- | --- | --- |
| `selectorType` | `"selector"` / `"element"` / `"frame"` (supports variable references) | No | `"selector"` | Element source. Editor initial value `"selector"` |
| `frame` | `string` | No | — | iframe variable |
| `element` | `string` | No | — | Element variable |
| `selectorRadio` | `"CSS"` / `"XPath"` (supports variable references) | No | `"CSS"` | Selector type. Editor initial value `"CSS"` |
| `selector` | `string` | No | — | Selector |
| `serialType` | `"fixed"` / `"randomInterval"` (supports variable references) | No | `"fixed"` | When multiple element objects match. Editor initial value `"fixed"` |
| `serial` | `WorkflowNumber` | No | `1` | Element index; integer; minimum after resolution: 1. Editor initial value `1` |
| `serialMin` | `WorkflowNumber` | No | — | Minimum index; integer; minimum after resolution: 1 |
| `serialMax` | `WorkflowNumber` | No | — | Maximum index; integer; minimum after resolution: 1 |
| `value` | `string` / array<`string`> (supports variable references) | No | — | Option value |
| `postWaitMs` | `WorkflowNumber` | No | `300` | Wait after completion (ms); minimum after resolution: 0. Editor initial value `300` |


## Mode requirements and limits

- **Locator rules:** selectorType=selector requires selector; frame requires frame+selector; element requires an ElementRef reference from a previous node. serial starts at 1. randomInterval uses serialMin/serialMax, and the minimum cannot be greater than the maximum. The node first waits for the selector to match elements, then picks the index once: the upper bound of the range is capped at the actual match count. If a fixed index or the lower bound of the range is greater than the match count, ELEMENT_NOT_FOUND (reason=range, details.field is serial or serialMin) is returned immediately and the page is not touched.
value is the value string of an existing option, or an array of such strings, not the label. A regular single-select control accepts only one value.
- Validation code `RPA_NODE_INPUT_INVALID`


## Input references

| Field | Allowed forms |
|  --- | --- |
| `selectorType` | `literal`, `template` |
| `frame` | `literal`, `template` |
| `element` | `literal`, `template` |
| `selectorRadio` | `literal`, `template` |
| `selector` | `literal`, `template` |
| `serialType` | `literal`, `template` |
| `serial` | `literal`, `numericExpression` |
| `serialMin` | `literal`, `numericExpression` |
| `serialMax` | `literal`, `numericExpression` |
| `value` | `literal`, `template` |
| `postWaitMs` | `literal`, `numericExpression` |


## Outputs

| Output field | Type or values |
|  --- | --- |
| `element` | `ElementRef` |
| `options` | array<`OptionInfo`> |
| `optionCount` | `number` |
| `selectedValues` | array<`string`> |
| `selectedOptions` | array<`object`> |


Reference published fields as `${nodeId.data.field}`.

## JSON example

A complete node object for a workflow's `nodes` array or another node's `blocks`.

```json
{
  "id": "choose_country",
  "type": "browser_selectElement",
  "data": {
    "title": "Choose the shipping country",
    "browserAction": "selectElement",
    "browserUi": {
      "inputs": {
        "selectorType": "selector",
        "selectorRadio": "CSS",
        "selector": "select#country",
        "value": "US",
        "postWaitMs": 300
      },
      "exception": {
        "timeout": 30000,
        "policy": "interrupt"
      }
    }
  }
}
```

[Back to the node catalog](/browser-rpa/nodes)