0
Q:

enter key in selenium

To press ENTER key using Selenium WebDriver, We need to use Selenium 
Enum Keys with its constant ENTER.

driver.findElement(By.xpath("xpath")).sendKeys(Keys.ENTER);
0
To press ENTER key using Selenium WebDriver, We need to use Selenium
Enum Keys with its constant ENTER.

driver.findElement(By.xpath("xpath")).sendKeys(Keys.ENTER);
0

New to Communities?

Join the community