本人使用的是win10,对应驱动如下
一、三大浏览器的驱动地址:
chrome驱动:http://chromedriver.storage.googleapis.com/index.html
Firefox驱动:https://github.com/mozilla/geckodriver/releases/
edge驱动:https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/
二、对应版本下载:
1.chrome版本 73.0.3683.75
下载版本是:
2.Firefox驱动名称为geckodriver,版本是66
对应下载最新版本
3.edge版本是17134
对应下载17134
三、部署驱动
下载驱动后,统一存放到python.exe目录;如果是放到其他目录,请将路径加入系统环境变量path中;当然也可以在脚本中定义。