Selenium Java - Handling Form Elements
What will happen if you run the following code snippet?
Assuming the element exists and the file path is correct.
driver.findElement(By.name("fileUpload")).sendKeys("C:\\docs\\report.pdf");Assuming the element exists and the file path is correct.
