Hi guys if with your normal browser go on "here" and you solve the Captcha , then if you reload the page you don't have to solve the Captcha again (for the next 5-10 minutes). If I go on the same page with selenium browser and I manually solve the Captcha if I reload the page after 5 seconds I have to redo the Captcha. It's like that when I use selenium it doesn't save the Captcha " cookie/session" I have tried to load my browser session but it's the same.
options = webdriver.ChromeOptions()
options.add_argument("--user-data-dir=C:/Users/User/AppData/Local/Google/Chrome/User Data")
driver = webdriver.Chrome(chrome_options=options,
executable_path="C:/chromedriver.exe")
i have even tried to
driver.get("https://www.google.com/recaptcha/api2/demo")
pickle.dump( driver.get_cookies() , open("cookies.pkl","wb"))
time.sleep(60)
cookies = pickle.load(open("cookies.pkl", "rb"))
for cookie in cookies:
driver.add_cookie(cookie)
driver.get("https://www.google.com/recaptcha/api2/demo")
time.sleep(60)