操作環(huán)境
- Chrome版本: 60.0.3112.101
- ChromeDriver:2.31 (Supports Chrome v58-60)
- IDE:Pycharm
- Python:3.6.2
- Selenium:3.5.0
環(huán)境安裝
-
將ChromeDriver放入Chrome.exe所在路徑
-
將ChromeDriver所在目錄添加到系統(tǒng)Path中
-
安裝Python,將Python路徑添加到PATH選項打鉤,點擊Customiz installation
-
點擊Next
-
將install for all users 打鉤,然后點擊安裝
-
Python安裝后,將PyCharm安裝好,點擊File -> Settings
-
配置Python路徑
-
點擊箭頭,更新setuptools
-
點擊加號,再點擊manage repositories
-
點擊加號添加豆瓣pypi源
-
搜索selenium,注意選擇豆瓣源,點擊install package安裝,至此環(huán)境就相關(guān)環(huán)境就安裝好了










