问题:

“selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities“解决办法

原因:firefox浏览器版本和浏览器驱动版本不匹配

解决办法:卸载高版本浏览器,安装低版本浏览器

下载地址:http://ftp.mozilla.org/pub/firefox/releases/

比如http://ftp.mozilla.org/pub/firefox/releases/58.0/win64/zh-CN/

58.0指版本,win64指64位,zh-CN指简体中文

 

目前我能成功的环境为:

驱动:geckodriver-v0.24.0-win64.zip   浏览器:v58.0  

相关文章:

  • 2021-12-22
  • 2022-12-23
  • 2021-12-03
  • 2021-06-05
  • 2021-09-20
  • 2021-11-15
  • 2021-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
  • 2021-05-13
  • 2021-10-24
  • 2022-01-15
  • 2022-12-23
相关资源
相似解决方案