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.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
date | string | Yes | Target date — YYYY-MM-DD or full ISO 8601. Time component is ignored. | ||
pickerTestId | string | No | Optional testID of the date picker — 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_date(date: <string>)