Handle a date picker
Hard120 pts~45 min
- Date inputs
- Locale
Practice app · UI Widgets Lab
Native alerts, confirm and prompt dialogs, a modal, a cookie banner, custom dropdown, autocomplete, date picker and tooltip.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Set a native date input and verify the selected date.
Your task
- 1Open TEST_URL and locate
#date-input. - 2Enter 14 October 2025 in the browser’s date format (en-US: “10/14/2025”).
- 3Assert the input value is “2025-10-14”.
- 4Assert
#date-resultreads “Selected date: 2025-10-14”.
Acceptance criteria
#date-inputvalue is “2025-10-14”#date-resultreads “Selected date: 2025-10-14”- At least 2 assertions pass
Selenium WebDriver 4 · Selenium · Dropdowns, alerts & popups