Answers for "key press in selenium"

1

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);
Posted by: Guest on December-05-2020

Code answers related to "key press in selenium"

Browse Popular Code Answers by Language