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 5.4.2 is not compatible with Chrome 77

See original GitHub issue

Chrome 77 just got released, which is not compatible with Protractor 5.4.2:

[15:06:46] E/runner - Unable to start a WebDriver session.
[15:06:46] E/launcher - Error: SessionNotCreatedError: session not created: 
  This version of ChromeDriver only supports Chrome version 75
  (Driver info: chromedriver=75.0.3770.90 (a6dcaf7e3ec6f70a194cc25e8149475c6590e025-refs/branch-heads/3770@{#1003}),platform=Mac OS X 10.14.6 x86_64)

Specifying later version of chromedriver works, but it is pretty much not a robust solution, as it requires to specify the exact version of driver:

/webdriver-manager update --versions.chrome=77.0.3865.40

--versions.chrome=77 doesn’t work

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:32
  • Comments:16 (2 by maintainers)

github_iconTop GitHub Comments

9reactions
mhartingcommented, Sep 12, 2019

@localpcguy this is what I put in our protractor config:

chromeDriver: './node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_77.0.3865.75',

That won’t cause protractor to download it. We use Travis CI instead of Circle CI. To get the correct chromedriver downloaded, I put this command in our travis.yml file:

./node_modules/protractor/bin/webdriver-manager update --versions.chrome=77.0.3865.75
4reactions
cnishinacommented, Sep 16, 2019

Okay this should work now. You’ll need to get the latest webdriver-manager version 12.1.7. This should work from here on in to get the latest release of chromedriver.

Read more comments on GitHub >

github_iconTop Results From Across the Web

When using Protractor 5.4.2, webdriver-manager downloads ...
When using Protractor 5.4.2, webdriver-manager downloads 2.46 which is not compatible with Chrome 74 · Ask Question. Asked 3 years, 7 ...
Read more >
angular/protractor - Gitter
Latest versions of Chrome are not supported through the chromedriver versions installed via the webdriver-manager version that Protractor 5.4 installs.
Read more >
Downloads - ChromeDriver - WebDriver for Chrome
3865.40. Supports Chrome version 77. Includes the following changes over version 77.0.3865.10:.
Read more >
protractor | Yarn - Package Manager
Protractor is an end-to-end test framework for Angular and AngularJS ... BREAKING CHANGE: Debugger and explore methods are not compatable with Node 8+....
Read more >
Can someone help provide proper configuration to have ...
... true to protractor.conf.js block capabilities . If this doesn't help, you may be able to debug the problem by adding line
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