Quote:AttributeError: 'list' object has no attribute 'select'Return a list object to get,so most use it like this.
elem_capt[0].select()Here my setup with different tests,but has to solve Buster manually.
So most look at links posted that try to bypass Buster solver.
from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver import ActionChains from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as ec from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys import time #--| Setup options = Options() #options.add_argument("--headless") #options.add_argument('--log-level=3') options.add_argument("user-data-dir=cookies") # Try so save cookies local options.add_argument('--user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36') options.add_argument("--disable-blink-features") options.add_argument("--disable-blink-features=AutomationControlled") options.add_experimental_option("excludeSwitches", ["enable-automation"]) options.add_experimental_option('useAutomationExtension', False) browser = webdriver.Chrome(executable_path=r'C:\cmder\bin\chromedriver.exe', options=options) #--| Parse or automation browser.get('https://www.google.com/recaptcha/api2/demo') # Find iframe captcha_iframe = WebDriverWait(browser, 10).until(ec.presence_of_element_located((By.TAG_NAME, 'iframe'))) # Move to element ActionChains(browser).move_to_element(captcha_iframe).click().perform() # Click on checkbox captcha_box = WebDriverWait(browser, 10).until(ec.presence_of_element_located((By.ID, 'g-recaptcha-response'))) browser.execute_script("arguments[0].click()", captcha_box) time.sleep(30) # Time to solve send = browser.find_elements_by_css_selector('#recaptcha-demo-submit') send[0].click()