question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Protractor 7.0.0 only supports chrome verison 85, while chrome version is 85 (error)

See original GitHub issue

Good day,

as of 07.24 after some updates to chrome we are getting the the following error

E/launcher - session not created: This version of ChromeDriver only supports Chrome version 85
(Driver info: chromedriver=85.0.4183.38 (9047dbc2c693f044042bbec5c91401c708c7c26a-refs/branch-heads/4183@{#779}),platform=Mac OS X 10.15.5 x86_64)

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:22

github_iconTop GitHub Comments

3reactions
merowarecommented, Aug 30, 2020

In reviewing a stackoverflow question about this, I found that we can continue to keep parity by just getting the version during our build pipelines. It’s a bit of a pain but at least it should always be in parity due to it being dynamic at figuring out the versions.

   apt-get install -y google-chrome-stable # Install latest version of chrome
   
   VERSION=`google-chrome --version | egrep -o '[0-9]+.[0-9]+' | head -1` # Get chrome version that we just installed by major and minor 
   
   npm i webdriver-manager@latest -D # Install webdriver manager locally as dev dependency
   
   npm i chromedriver --chromedriver_version=$VERSION -D # Install chrome driver to the version that we got from google chrome installation above

Here is the stack overflow response if curious https://stackoverflow.com/questions/63651059/angular-e2e-tests-failing-in-github-actions-because-of-chrome-vs-chromedriver-ve/63654014#63654014 It deals with fixing this problem during a github actions workflow but the overall snipped just provided above should help keep parity in any environment.

3reactions
Fuun347commented, Jul 24, 2020

Running ng e2e --project=e2e-no-serve --specs=./src/service/ --webdriverUpdate=false will stop the angular-cli from trying to update the webdriver. What I mean is that the webdriver will stay at the current version. Source: https://angular.io/cli/e2e

Read more comments on GitHub >

github_iconTop Results From Across the Web

Message: session not created: This version of ChromeDriver ...
There seems to be an issue where webdriver-manager is installing ChromeDriver 85 even though Chrome 84 is the current stable release.
Read more >
session not created: This version of ChromeDriver only ...
Video to solve Protractor exception: session not created: This version of ChromeDriver only supports Chrome version 85.we need to update ...
Read more >
angular/webdriver-manager - Gitter
Hi, My webdriver-manager is 12.1.6 and it downloads chrome driver version 76 ... this version of chromedriver only supports chrome version 85" when...
Read more >
Chrome driver update for Browser Version 87.0.4280.141 ...
Bug report. Node Version: v10.16.3. Protractor Version: 7.0.0. Angular Version: ``. Browser(s): chrome. Operating System and Version MAC OS ...
Read more >
Archived release notes - Chrome Enterprise and Education Help
Note: For information about the current Chrome versions and targeted releases, see Chrome Enterprise release notes.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found