셀레니움 개발자 모드

def __init__(self): url = 'https://login.taobao.com/member/login.jhtml' self.url = url options = webdriver.ChromeOptions() options.add_experimental_option("prefs", {"profile.managed_default_content_settings.images": 2}) # Do not load images to speed up access options.add_experimental_option('excludeSwitches', ['enable-automation']) # This step is very important, set to developer mode to prevent the use of Selenium by major websites. self.browser = webdriver.Chrome(executable_path=chromedriver_path, options=options) self.wait = WebDriverWait(self.browser, 10) #Timeout is 10s