1:添加各种环境变量了2:版本对应3:放到浏览器文件夹、python文件夹、程序文件夹、各种文件夹我都放了4:添加了executable_path了
chrome = webdriver.Chrome(executable_path='D:/chromedriver.exe')
chrome
=
webdriver.Chrome(executable_path
'D:/chromedriver.exe'
)