1.

In Selenium WebDriver, how do I push the ENTER key on a text box?

Answer»

To UTILIZE Selenium WebDriver to hit the ENTER key, we MUST use Selenium Enum KEYS with the constant ENTER.

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


Discussion

No Comment Found