python2.7运行selenium webdriver api报错Unable to find a matching set of capabilities

在火狐浏览器33版本,python2.7运行selenium webdriver api报错:
SessionNotCreatedException: Message: Unable to find a matching set of capabilities

网上搜了一下,说可以升级浏览器版本到52以上,我升级到了55版本,没有报错了

解决办法:Update Firefox to version >= 52.0.3,更新Firefox版本52.0.3以上

可能也与geckodriver的版本有关系,没有具体验证

猜你喜欢

转载自www.cnblogs.com/xiaxiaoxu/p/9169023.html