最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - ERROR @wdiorunner: Error: Failed to create session. session not created: This version of ChromeDriver only supports

programmeradmin1浏览0评论

I'm getting an error 'ERROR @wdio/runner: Error: Failed to create session. session not created: This version of ChromeDriver only supports Chrome version 83' while running a script in WebdriverIO V6 with Cucumber framework though I'm running in chrome browser (85.0.4183.83) locally and my chromedriver configuration in package.json file is "chromedriver": "^85.0.0".

The only concern here is even If I keep my chromedriver version 85.exe file in my node_modules->.selenium-> chromedriver then It's throwing a same error while running a script.

Is there any workaround to fix this issue?

I'm getting an error 'ERROR @wdio/runner: Error: Failed to create session. session not created: This version of ChromeDriver only supports Chrome version 83' while running a script in WebdriverIO V6 with Cucumber framework though I'm running in chrome browser (85.0.4183.83) locally and my chromedriver configuration in package.json file is "chromedriver": "^85.0.0".

The only concern here is even If I keep my chromedriver version 85.exe file in my node_modules->.selenium-> chromedriver then It's throwing a same error while running a script.

Is there any workaround to fix this issue?

Share Improve this question asked Sep 1, 2020 at 18:23 Ansuman SinghAnsuman Singh 411 gold badge1 silver badge2 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 0

You have to either set chromedriver version in the selenium standalone config https://webdriver.io/docs/selenium-standalone-service.html#configuration or use https://webdriver.io/docs/docs/wdio-chromedriver-service.html only but not all together.

chromedriver package is not used by selenium-standalone-service

Note: please use chromedriver (not Chrome browser!) version, see https://chromedriver.chromium/downloads

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论