selenium3启动Firefox66报错selenium.common.exceptions.SessionNotCreatedException

selenium3.141.0+python3.6.7+firefox66.0
上述配置,下载geckodriver v0.24.0版本,驱动已配置到path中。

驱动从v0.21.0试到v0.24.0,全部报以下错误。

另外,电脑里还有个firefox35,跟firefox66不在一个盘符。
使用driver=webdriver.Firefox()

一直报错

selenium3启动Firefox66报错selenium.common.exceptions.SessionNotCreatedException

 实在菜鸡,折腾不出来,此配置启动Chrome,IE,edge都可以,唯独firefox66不行,不知道是不是跟电脑里装了两个版本的firefox有关,还是其他原因.....

百度n久没有找到答案,此文发了后就看到一篇文章,下面两个网址中得到启发,问题解决

https://blog.csdn.net/qq_35444750/article/details/79619941

https://*.com/questions/43713445/selenium-unable-to-find-a-matching-set-of-capabilities-despite-driver-being-in

本人win10 64bit系统,之前firefox直接官网点击下载的32bit浏览器,驱动从v0.21.0试到v0.24.0,v0.24.0win32,win64都试过,全是报上面错误,然后看到上面两个链接的内容后,把Firefox改为64位的,版本依旧是66.0的,不再报错,脚本正常执行。