好久不用selenium 跑个脚本都是错。恨我的咬牙切齿
回到家自己的电脑上也是跑不起来。
win10啊,坑爹,还是搬到虚拟机里玩去吧。。。
环境!环境!环境!这里说下路线,大家自己去扒代码以及相关安装方式
必备
- python
- selenium
- chrome
- chromedriver
从零搭建环境
操作系统win7 64位
python 官网—https://www.python.org/ (记得配置环境变量)
pip 安装手册—https://pip.pypa.io/en/stable/installing/
selenium 安装 pip install selenium
chrome 官网—http://www.google.cn/chrome/browser/desktop/index.html(需要梯子)
chromedriver 官网—