Selenium, Chromedriver Installation
- selenium
- chromedriver
安装 selenium
1 | pip install selenium |
安装 chromedriver
https://sites.google.com/a/chromium.org/chromedriver/downloads
解压后得到一个chromedriver.exe文件,在C:\Program Files (x86)\Google\Chrome\Application
中新建chromedriver文件夹,将chromedriver.exe放入新建的文件夹
chromedriver - 环境变量设置
1 | path = "C:\Program Files (x86)\Google\Chrome\Application\chromedriver\chromedriver.exe" |
-------------文章结束啦 ฅ●ω●ฅ 感谢您的阅读-------------