0

I have been trying to make Python send emails using the Selenium module. I have successfully been able to go to gmail.com and input an email address, but the website won't let me progress any further and enter a password. This is the issue that I have been repeatedly getting.

For reference, here is my code:

from selenium import webdriver
your_email = input("Email:")
driver = webdriver.Chrome("C:/Users/Shitty Horrible Pc/PycharmProjects/learningpython/pytjom/chromedriver.exe")
driver.implicitly_wait(4)
driver.get("https://gmail.com")
element = driver.find_element_by_id("identifierId")
element.send_keys(your_email)
element = driver.find_element_by_class_name("VfPpkd-RLmnJb")
element.click()

Issue that I have been getting trying to sign in.

0 Answers0