(Feb-04-2021, 01:16 PM)straannick Wrote: Try to open link manually, check captcha checkbox, press button and you'll see "check is successfull".There is usually no need when do it yourself in browser.
No need for Buster solver. But your code provoke (execute_script) all those buster pictures!
In my example no buster, I need only check captcha checkbox - when I do it manually.
There is a difference when try from Selenium,then dos then Buster solver always show up.
That why you see i try different stuff to hide that i use Selenium.
So if fix your code that do work,you will see that the Buster solver pop up.
from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.keys import Keys import time #--| Setup options = Options() #options.add_argument("--headless") #options.add_argument('--log-level=3') # Your path to chromedriver.exe most be in Windows environment Path or same folder as run script driver = webdriver.Chrome(executable_path=r'C:\cmder\bin\chromedriver.exe', options=options) #--| Parse or automation driver.get('https://www.google.com/recaptcha/api2/demo') time.sleep(2) # Switch to recaptcha frame frames = driver.find_elements_by_tag_name("iframe") driver.switch_to.frame(frames[0]) time.sleep(2) # Click on checkbox to activate recaptcha,Buster pop up driver.find_element_by_class_name("recaptcha-checkbox-border").click()