AiPlaywright Page (or compatible subset).
The ID of the DatePicker control.
The date to set (Date object or ISO string).
Optionaloptions: DateOptionsOptional date operation settings.
Date picker interaction:
await setDatePickerValue(page, controlId, date)await setAndValidateDate(page, controlId, date)const val = await getDatePickerValue(page, controlId)Reads the control's valueFormat, converts the input to match, then calls setValue() + fireChange(). This prevents the silent wrong-format bug where the date shows as invalid in the UI.
Sets a date value on a
sap.m.DatePickercontrol.