错误信息
selenium.common.exceptions.WebDriverException: Message: The browser appears to have exited before we could connect. If you specified a log_file in the FirefoxBinary constructor, check it for details.
diver和firefox版本没有对应你可以试试用谷歌浏览器https://www.cnblogs.com/pythonywy/p/11234164.html,可以参考我的博客链接
google浏览器可以的, 不是版本问题,最终问题是没有用管理员身份运行,导致权限不够。辛苦大家了谢谢你们
解决办法:
1 降低firefox版本。
或者
2 使用与该selenium版本匹配的其他浏览器驱动。
或者
3 升级selenium版本。
检测driver支持的firefox版本