selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version
通常浏览器升级后,没有对应更新驱动,在运行程序时就会报错SessionNotCreatedException,就是驱动不支持浏览器版本,这时候就需要更新浏览器驱动
进入驱动网址:http://npm.taobao.org/mirrors/chromedriver/,下载对应版本的谷歌驱动
下载后放在Python文件夹下面即可。
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of
最新推荐文章于 2024-06-09 17:19:10 发布