Unsupported command-line flag: --ignore-certificate-errors

后端 未结 6 501
無奈伤痛
無奈伤痛 2020-12-29 08:51

Using Python 2.7.5, python module selenium (2.41.0) and chromedriver (2.9).

When Chrome starts it displays a message in a yellow popup bar: \"You are using an unsupp

6条回答
  •  攒了一身酷
    2020-12-29 09:39

        options = webdriver.ChromeOptions()
    
        options.add_argument('test-type')
        chromedriver = 'resources/chromedriver.exe'
    
    
    
        os.environ["webdriver.chrome.driver"] = chromedriver
    
        self.driver = webdriver.Chrome(chromedriver,chrome_options=options)
    

提交回复
热议问题