一、准备步骤
1.1 安装selenium库
cmd>pip install -i https://pypi.tuna.tsinghua.edu.cn/simple selenium
1.2 下载chrome驱动
ChromeDriverhttps://sites.google.com/a/chromium.org/chromedriver/把下载好的chromedriver.exe放到python安装路径的scripts目录中
查看python安装路径
import sys
sys.path