Selenium: how to sendKeys() in Selenium WebDriver

Last updated on:

Well there is plenty input fields on the web, here how you send keys to input field

WebDriver driver = new FirefoxDriver();

driver.findElement(By.id("email")).sendKeys(Keys.ENTER);
View Comments

Leave a Comment

Use markdown or basic HTML and be nice.