Selenium Java - Handling Form Elements
You have this Selenium code:
The test throws
driver.findElement(By.name("fileUpload")).sendKeys("document.pdf");The test throws
InvalidArgumentException. What is the most probable cause?