Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Request failed due to session not created: This version of ChromeDriver only supports Chrome version 83 #29

Open
ThiagoMFerreira opened this issue Jul 31, 2020 · 4 comments
Labels

Comments

@ThiagoMFerreira
Copy link

ThiagoMFerreira commented Jul 31, 2020

Hello,
I am having an issue, I am using chromium version 2.2.0 "chromium": "^2.2.0",
I am trying to run my tests in CI, that is running in a centOS machine, and I am using webdriverIO, my wdio.conf.js is that way:


const wdioConfig = {
    runner: 'local',
    specs: ['./e2e/specs/**'],
    exclude: [],
    maxInstances: 1,
    capabilities: [
        {
            browserName: 'chrome',
            'goog:chromeOptions': {
                binary: chromium.path,
                args: [
                    '--headless',
                    '--window-size=1280,960',
                    '--ignore-certificate-errors',
                    '--disable-gpu',
                    '--allow-insecure-localhost',
                    '--allow-running-insecure-content',
                    '--no-sandbox',
                ],
            },
        },
    ],
services: ['selenium-standalone'],

And when it is running in pipeline i am getting this error:

Execution of 1 spec files started at 2020-07-31T14:59:08.843Z
[15:59:08][npm run test:e2e] [e2e] 
[15:59:11][npm run test:e2e] [e2e] [0-0] RUNNING in chrome - /e2e/specs/myTest.e2e.js
[15:59:11][npm run test:e2e] [e2e] [0-0] 2020-07-31T14:59:11.959Z WARN webdriver: Request failed due to session not created: This version of ChromeDriver only supports Chrome version 83
[15:59:11][npm run test:e2e] [e2e] Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
[15:59:11][npm run test:e2e] [e2e] Driver info: driver.version: unknown
[15:59:11][npm run test:e2e] [e2e] remote stacktrace: #0 0x5572b696f579 <unknown>

Does someone knows how to solve this problem?

@dtolstyi
Copy link
Owner

dtolstyi commented Aug 1, 2020

Hi @ThiagoMFerreira,

This error usually means that version of Chrome/Chromium doesn't correspond the version of chromedriver. This is what mentioned here: This version of ChromeDriver only supports Chrome version 83.

Try to see the version of chromium by typing: chromium --version in appropriate folder and check whether your version of chromedriver supports this version of Chrome.

I've never worked with webdriver.io but I had a lot of these errors using pure chromedriver (and, I think, wdio uses chromedriver as well), so, I hope, this is the same issue.

P.S. And here's the solution that should work: bonigarcia/webdrivermanager#342 (comment)

@ashishgarg59
Copy link

Hi, I am also facing the same issue, my chrome version is "Version 85.0.4183.83".

@khyati2010
Copy link

khyati2010 commented Aug 28, 2020

hi, I am getting this issue on mac machine. WARN webdriver: Request failed with status 500 due to session not created: This version of ChromeDriver only supports Chrome version 83. Driver info: driver.version: unknown
remote stacktrace: 0 83.0.4103.39-x64-chromedriver 0x0000000107bc3e99 83.0.4103.39-x64-chromedriver + 4808345
1 83.0.4103.39-x64-chromedriver 0x0000000107b5e5f3 83.0.4103.39-x64-chromedriver + 4392435
2 83.0.4103.39-x64-chromedriver 0x00000001077ea29d 83.0.4103.39-x64-chromedriver + 770717
3 83.0.4103.39-x64-chromedriver 0x0000000107747689 83.0.4103.39-x64-chromedriver + 104073
4 83.0.4103.39-x64-chromedriver 0x0000000107743940 83.0.4103.39-x64-chromedriver + 88384
5 83.0.4103.39-x64-chromedriver 0x0000000107740c99 83.0.4103.39-x64-chromedriver + 76953
6 83.0.4103.39-x64-chromedriver 0x0000000107772fa3 83.0.4103.39-x64-chromedriver + 282531
7 83.0.4103.39-x64-chromedriver 0x000000010776fda3 83.0.4103.39-x64-chromedriver + 269731
8 83.0.4103.39-x64-chromedriver 0x00000001077498dd 83.0.4103.39-x64-chromedriver + 112861
9 83.0.4103.39-x64-chromedriver 0x000000010774a875 83.0.4103.39-x64-chromedriver + 116853
10 83.0.4103.39-x64-chromedriver 0x0000000107b8647f 83.0.4103.39-x64-chromedriver + 4555903
11 83.0.4103.39-x64-chromedriver 0x0000000107b9377a 83.0.4103.39-x64-chromedriver + 4609914
12 83.0.4103.39-x64-chromedriver 0x0000000107b93509 83.0.4103.39-x64-chromedriver + 4609289
13 83.0.4103.39-x64-chromedriver 0x0000000107b6a319 83.0.4103.39-x64-chromedriver + 4440857
14 83.0.4103.39-x64-chromedriver 0x0000000107b93d03 83.0.4103.39-x64-chromedriver + 4611331
15 83.0.4103.39-x64-chromedriver 0x0000000107b7c083 83.0.4103.39-x64-chromedriver + 4513923
16 83.0.4103.39-x64-chromedriver 0x0000000107baa454 83.0.4103.39-x64-chromedriver + 4703316
17 83.0.4103.39-x64-chromedriver 0x0000000107bc9f57 83.0.4103.39-x64-chromedriver + 4833111
18 libsystem_pthread.dylib 0x00007fff72b4e109 _pthread_start + 148
19 libsystem_pthread.dylib 0x00007fff72b49b8b thread_start + 15

[0-0] 2020-08-28T08:07:19.406Z WARN webdriver: Request failed with status 500 due to session not created: This version of ChromeDriver only supports Chrome version 83
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: '', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.5', java.version: '1.8.0_252'
Driver info: driver.version: unknown
remote stacktrace: 0 83.0.4103.39-x64-chromedriver 0x0000000106fa7e99 83.0.4103.39-x64-chromedriver + 4808345
1 83.0.4103.39-x64-chromedriver 0x0000000106f425f3 83.0.4103.39-x64-chromedriver + 4392435
2 83.0.4103.39-x64-chromedriver 0x0000000106bce29d 83.0.4103.39-x64-chromedriver + 770717
3 83.0.4103.39-x64-chromedriver 0x0000000106b2b689 83.0.4103.39-x64-chromedriver + 104073
4 83.0.4103.39-x64-chromedriver 0x0000000106b27940 83.0.4103.39-x64-chromedriver + 88384
5 83.0.4103.39-x64-chromedriver 0x0000000106b24c99 83.0.4103.39-x64-chromedriver + 76953
6 83.0.4103.39-x64-chromedriver 0x0000000106b56fa3 83.0.4103.39-x64-chromedriver + 282531
7 83.0.4103.39-x64-chromedriver 0x0000000106b53da3 83.0.4103.39-x64-chromedriver + 269731
8 83.0.4103.39-x64-chromedriver 0x0000000106b2d8dd 83.0.4103.39-x64-chromedriver + 112861
9 83.0.4103.39-x64-chromedriver 0x0000000106b2e875 83.0.4103.39-x64-chromedriver + 116853
10 83.0.4103.39-x64-chromedriver 0x0000000106f6a47f 83.0.4103.39-x64-chromedriver + 4555903
11 83.0.4103.39-x64-chromedriver 0x0000000106f7777a 83.0.4103.39-x64-chromedriver + 4609914
12 83.0.4103.39-x64-chromedriver 0x0000000106f77509 83.0.4103.39-x64-chromedriver + 4609289
13 83.0.4103.39-x64-chromedriver 0x0000000106f4e319 83.0.4103.39-x64-chromedriver + 4440857
14 83.0.4103.39-x64-chromedriver 0x0000000106f77d03 83.0.4103.39-x64-chromedriver + 4611331
15 83.0.4103.39-x64-chromedriver 0x0000000106f60083 83.0.4103.39-x64-chromedriver + 4513923
16 83.0.4103.39-x64-chromedriver 0x0000000106f8e454 83.0.4103.39-x64-chromedriver + 4703316
17 83.0.4103.39-x64-chromedriver 0x0000000106fadf57 83.0.4103.39-x64-chromedriver + 4833111
18 libsystem_pthread.dylib 0x00007fff72b4e109 _pthread_start + 148
19 libsystem_pthread.dylib 0x00007fff72b49b8b thread_start + 15

@dtolstyi
Copy link
Owner

Hi @khyati2010 @ashishgarg59, this module is about Chromium and the issues you are having are connected to incorrect version of chromedriver. You need either to use chromium version that is compatible with your chromedriver (thanks to latest contributions you can specify revision you need) or update your chromedriver to the version of chromium you got.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants