Selenium Java - Handling Form Elements
Consider this code snippet:
What will be printed?
WebElement upload = driver.findElement(By.cssSelector("input[type='file']"));
upload.sendKeys("/tmp/image.png");
String value = upload.getAttribute("value");
System.out.println(value);What will be printed?
