当前位置:   article > 正文

selenium.common.exceptions.SessionNotCreatedException浏览器版本不匹配报错_current browser version is 116.0.5845.111 with bin

current browser version is 116.0.5845.111 with binary path c:\program files\

python自动控制Google浏览器时报错:

elenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 105
Current browser version is 107.0.5304.122 with binary path 

原因:Chrome与ChromeDriver版本不一致,浏览器版本不匹配

解决方法:查询浏览器对应版本,去官网下载版本匹配的selenium,并解压替换原有的ChromeDriver即可

官网网址存档: 

CNPM Binaries Mirroricon-default.png?t=M85Bhttps://registry.npmmirror.com/binary.html?path=chromedriver/

参考链接:

报错selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version_卡萨布兰卡(。・ω・。)ノ的博客-CSDN博客

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/168521
推荐阅读
相关标签
  

闽ICP备14008679号