Skip to content

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).

NameTypeRequiredDefaultConstraintsDescription
valuestringYesThe visible row label to select (e.g. “Claim damages”, “Male”, “USD”)
pickerTestIdstringNoOptional testID of the picker itself — tapped first to ensure the picker is open.
platform`enum: iosandroid`No
timeoutMsnumberNomin: 1000, max: 120000, integerMaestro timeout (default 20000ms).
device_pick_value(value: <string>)