device_pick_value
Select a value in a UIPickerView / Android picker wheel by tapping the target row. Works for any picker that exposes row labels via accessibility. If pickerTestId is provided, taps the picker open first. Known limitation: only works when the target value is already visible in the wheel window (scroll-to-visible is not yet implemented).
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
value | string | Yes | The visible row label to select (e.g. “Claim damages”, “Male”, “USD”) | ||
pickerTestId | string | No | Optional testID of the picker itself — tapped first to ensure the picker is open. | ||
platform | `enum: ios | android` | No | ||
timeoutMs | number | No | min: 1000, max: 120000, integer | Maestro timeout (default 20000ms). |
device_pick_value(value: <string>)