1.python调用selenium时报错“WebDriverException: Message: 'geckodriver' executable needs to be in PATH.”
解决方法:下载geckodriver ,
放置位置:
Windows: python安装根目录(与python.exe 同一目录)
Mac: /user/local/bin
2.装完geckodriver,执行代码报错:WebDriverException: Message: Unsupported Marionette protocol version 2, required 3
解决方法: 升级火狐浏览器版本