下面的代码会打开一个Chrome标签,但不会打开Google链接。
错误:“您使用的是不受支持的命令行标志”
from selenium import webdriver driver=webdriver.Chrome("E:\\Chrome Driver\\chromedriver.exe") driver.get('https://www.google.com') driver.implicitly_wait(20) driver.quit()
通过这个链接。你的代码很完美。它只是版本问题Chrome Error: You are using an unsupported command-line flag: --ignore-certifcate-errors. Stability and security will suffer