Answers for "how to press enter button in selenium java"

1

how to press enter 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 "how to press enter button in selenium java"

Python Answers by Framework

Browse Popular Code Answers by Language