Selenium Java - Handling Form Elements
You wrote this Selenium Java code to select a date but the test fails with NoSuchElementException:
driver.findElement(By.xpath("//input[@id='dateInput']")).sendKeys("2024-12-01");
What is the most likely cause and fix?