赞
踩
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 Mirrorhttps://registry.npmmirror.com/binary.html?path=chromedriver/
参考链接:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。