Selenium Java - JavaScriptExecutor
What is wrong with this Selenium Java code to set the "value" attribute of an input element?
WebElement input = driver.findElement(By.id("email"));
input.setAttribute("value", "test@example.com");