Skip to content

Python code snippet – How to press enter in selenium ?

from selenium.webdriver.common.keys import Keys
driver.find_element_by_name("Value").send_keys(Keys.ENTER)
See also  Python code snippet - How to import somthing from another directory in pyhon?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.