SessionNotCreatedException:消息:会话未创建:此版本的 ChromeDriver 仅支持 Chrome 版本 81 [英] SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 81

查看:37
本文介绍了SessionNotCreatedException:消息:会话未创建:此版本的 ChromeDriver 仅支持 Chrome 版本 81的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前是机器人框架的新手.我目前正在使用 chrome 和 chromedriver 的最新窗口版本,它是 80,但是当我尝试运行测试时,它给出了消息SessionNotCreatedException: Message: session not created: This version of ChromeDriverpycharm 中仅支持 Chrome 81" 版,但目前仅提供 81 的测试版.我试过卸载所有东西并重新安装它,但没有任何效果任何人都可以帮我解决这个问题.谢谢!

I am currently new to robot framework.I am currently using latest window version of chrome and chromedriver which is 80 but when i try to run the test it gives the message "SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 81" in pycharm but currently beta version of 81 is only available. I have tried uninstalling everthing and reinstalling it again but nothing works can anyone help me with this.Thank you!

截图如下:

推荐答案

执行以下步骤:

  1. 检查 Chrome 浏览器的版本.

  1. Check the version of chrome browser.

https://sites.google 下载相同版本的 chromedriver.com/chromium.org/driver/home

在pycharm中给出正确的路径并运行代码.

Give correct path in the pycharm and run the code.

这篇关于SessionNotCreatedException:消息:会话未创建:此版本的 ChromeDriver 仅支持 Chrome 版本 81的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆