且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

error:selenium操作Firefox报错socket.error: [Errno 10054]

更新时间:2022-09-05 11:05:52

selenium操作Firefox报错socket.error: [Errno 10054]


开始以为是时间不够,增加等待时间,然后没有什么用


查看:https://github.com/mozilla/geckodriver/releases


发现版本要求,再查看本地的Selenium 版本太低,是3.6的,果断升级

Firefox 57 (and greater)
Selenium 3.11 (and greater)

参考

selenium3+python2.7启动Firefox 53提示:socket.error: [Errno 10054]