Session not created exception: Chrome version must be >= 62.0.3202.0

Thanks, Setting Chromedriver.set_version '2.37' in my base test fixed the issue.

1 Like

I used this code to upgrade google chrome version:
`

This did not work because webdriver-manager is not available on the system.

You need to run webdriver-manager from your node_modules bin folder.

You could do $(npm bin)/webdriver-manager to run it, or just include it as part of your script for running your e2e tests in your package.json.

"test:e2e": "webdriver-manager update --versions.chrome 2.37; protractor protractor.conf.js"

// or
"pretest:e2e": "webdriver-manager update --versions.chrome 2.37",
"test:e2e": "protractor protractor.conf.js"

after loads of surfing on circle threads about chromedriver issues, this one just did the trick. thx so much

worked for me, until started to use VCR.

So with rspec+vcr, Chromedriver.set_version '2.37' is not required, works by using an answer above (@Pepan) :

- run:
      name: Install Chrome
      command: |
        wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
        sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
        sudo apt-get update
        sudo apt-get -y install google-chrome-stable

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.