“cannot get automation extension” error with chrome version: 57.0.2987.98 “cannot get automation extension” error with chrome version: 57.0.2987.98 google-chrome google-chrome

“cannot get automation extension” error with chrome version: 57.0.2987.98


You are using incompatible versions of chromedriver=2.26.436362 and chrome=57.0.2987.98.

As per Chrome driver release notes the error is fixed in ver 2.28 so you should upgrade your Chrome driver (or downgrade the Chrome browser).

upd: if you use angular/webdriver-manager to run Selenium server then you can achieve this by running the following commands:

webdriver-manager update --versions.chrome=2.28webdriver-manager start --versions.chrome=2.28


Yes, you can use this as a workaround

node ./node_modules/protractor/bin/webdriver-manager update --versions.chrome 2.28node ./node_modules/protractor/bin/webdriver-manager start --versions.chrome 2.28

Works for my team. Hope it can help you.


Upgrading your protractor version to 5+ should do it. I got the same error, upgraded from 4.0.14 to 5.1.1, and now all my UI tests are passing again.

It seems that protractor doesn't start grabbing the latest version of the chrome driver until Protractor version 5.0, so when you upgrade to a version of Chrome that's incompatible with protractor's chrome driver, it will break your tests in this fun new way.

Source: https://github.com/angular/protractor/blob/master/CHANGELOG.md