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
valueunknownYesThe visible row label to select (e.g. “Claim damages”, “Male”, “USD”)
pickerTestIdunknownNo
platformunknownNoForce platform. Auto-detected if omitted.
timeoutMsunknownNomin: 1000, max: 120000, integerMaestro timeout (default 20000ms).
device_pick_value(value: <unknown>)