Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #press #enter #selenium
ADD COMMENT
Topic
Name
1+8 =