出现 "您使用的是不受支持的命令行标记:--ignore-certificate-errors。稳定性和安全性会有所下降"
解决方法如下
from selenium import webdriveroptions = webdriver.ChromeOptions()options.add_experimental_option("excludeSwitches", ["ignore-certificate-errors"])browser = webdriver.Chrome(chrome_options=options)browser.get("http://google.com/")
参考
https://code.google.com/p/chromedriver/issues/detail?id=799
http://stackoverflow.com/questions/24168407/unsupported-command-line-flag-ignore-certificate-errors
联系客服