1.在浏览器下载与浏览器相对于的驱动并放到python的安装根目录下
驱动的两个下载地址:
http://chromedriver.storage.googleapis.com/index.html
http://npm.taobao.org/mirrors/chromedriver/
a.先找到浏览器的版本

b.找到与浏览器对应的驱动

c.把下载好的驱动放到python安装目录的根目录下

2.点击设置

3.添加selenium

4.搜索selenium并添加

5.输入以下代码并运行,如果能打开浏览器则安装成功(我的是谷歌),如下图

6.已成功打开浏览器(谷歌),配置成功
