Skip to content

device_pick_date

Select a date in a UIDatePicker (wheels mode) / Android DatePicker. Parses YYYY-MM-DD or ISO 8601 and taps month name, day, and year in sequence. Known limitation: only wheels mode is supported — iOS 14+ inline calendar mode requires tapping calendar cells via device_find.

NameTypeRequiredDefaultConstraintsDescription
datestringYesTarget date — YYYY-MM-DD or full ISO 8601. Time component is ignored.
pickerTestIdstringNoOptional testID of the date picker — tapped first to ensure the picker is open.
platform`enum: iosandroid`No
timeoutMsnumberNomin: 1000, max: 120000, integerMaestro timeout (default 20000ms).
device_pick_date(date: <string>)