It seemed I couldn't automate gmail login. my code was right but once selenium typing the username and clicking next, it wouldn't let me type in the password.
Below was what showed in the password page: Couldn’t sign you in This browser or app may not be secure. Learn more Try using a different browser. If you’re already using a supported browser, you can refresh your screen and try again to sign in.
Is there a way to solve this?
driver.get("https://accounts.google.com/signin/v2/identifier?continue=https%3A%2F%2Fmail.google.com%2Fmail%2F&service=mail&sacu=1&rip=1&flowName=GlifWebSignIn&flowEntry=ServiceLogin")
#driver.maximize_window()
#driver.find_element_by_class_name("whsOnd").send_keys("email address")
#driver.find_element_by_class_name("VfPpkd-RLmnJb").click()