前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >selenium.common.exceptions.WebDriverException: Message: session not created(已解决)

selenium.common.exceptions.WebDriverException: Message: session not created(已解决)

原创
作者头像
疯狂的KK
发布2023-04-19 21:36:36
4560
发布2023-04-19 21:36:36
举报
文章被收录于专栏:Java项目实战Java项目实战

当使用chromedriver获取驱动时报错

代码语言:javascript
复制
selenium.common.exceptions.SessionNotCreatedException: Message: 
session not created: This version of ChromeDriver only supports Chrome version xxxx

并非chrome浏览器版本问题,而是python驱动版本太低

找到自己的浏览器版本

去这个网站下载驱动,windows下载32.ZIP

代码语言:javascript
复制
https://registry.npmmirror.com/binary.html?path=chromedriver/

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档
http://www.vxiaotou.com