Selenium Java - Handling Form Elements
Given this Selenium Java code snippet, what will be the output if the date picker input's value is set correctly?
WebElement dateInput = driver.findElement(By.id("dateInput"));
dateInput.click();
dateInput.sendKeys("2024-07-15");
String selectedDate = dateInput.getAttribute("value");
System.out.println(selectedDate);