So i want to compose a email to my another gmail account in selenium but they ask me to sign in to my google account i dont have any problem in signing in but can i automate that through a computer i tried to do it but i got a error always here is my code.
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
PATH = "C:\\edge driver\\msedgedriver.exe"
driver = webdriver.Edge(PATH)
driver.get("https://mail.google.com/mail/u/0/#inbox")
before = driver.find_element_by_id("identifierId")
before.send_keys("arkodeep.ray@gmail.com")
before.send_keys(Keys.RETURN)
# link = driver.find_element_by_link_text("Compose")
So whenever i run this code i get a error by google saying This browser or app may not be secure. Learn more Can anyone help me how to fix that i want to know how to fix that in selenium using a computer bot in msedge. Can someone help?
