enter a password on selenium

Found solutions right after posting it. Simply:

driver.find_element_by_name("PassSafe").click()
passwd = driver.find_element_by_name("PassWord")
passwd.send_keys("*****************")
passwd.send_keys(Keys.ENTER)

I clicked in the second element, and doing so the first element became style=”display: inline;”, so I can send the key and clicking enter i’m logged in.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top