my code is :
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.select import Select
import time
import requests
from bs4 import BeautifulSoup
url = "https://google.com"
time.sleep(15)
browser = webdriver.Chrome()
browser.get(url)
elem = browser.find_element_by_id('gb_70').click()
elem = browser.find_element_by_id('identifierId')
elem.send_keys("example")
elem = browser.find_elements_by_class_name('ZFr60d').click()
elem = browser.find_element_by_name('password')
elem.send_keys("example")
i'm going to try to login in to my Gmail account with Selenium Webdriver. when the driver starts, and my username filled into gmail input box, in the next step i get the following error from google:
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.
What should i do to solve this problem? it's very important to me.
P.S: i already tested the method with UA, but nothing happens