Protractor 5.4.2 uses webdriver-manager 12 which downloads Chromedriver 2.46. Chromedriver 2.46 supports Chrome 71-73 (see http://chromedriver.chromium.org/downloads). We need to download Chromedriver 74.0.3729.6.
I also see that there is a webdriver-manager@13 that supports this. Should I use it with Protractor 5.4.2?
Try installing chromedriver v. 74.0.3729.6 (Chrome 74) LOCALLY AND GLOBALLY
for the global installation run
webdriver-manager update --versions.chrome 74.0.3729.6
for local installation run something like
node ./node_modules/protractor/bin/webdriver-manager update --versions.chrome 74.0.3729.6
List of driver versions is here http://chromedriver.chromium.org/downloads
Possibly you'll face this issue update protractor chrome driver to 74, see my comment there
Let me know if you run into issues
webdriver-manager released 12.1.4 which will download a max ChromeDriver version of 74. How to get it?
npm install
)npm install -f
If you want to download a version specific in 74.x.x.x, this has been fixed in 12.1.4. I introduced a bug when I tried to quickly fix the issue in 12.1.3 causing this to not work.
webdriver-manager downloaded files based on the https://chromedriver.storage.googleapis.com/ The versions from the download were formatted 2.xx. These did not map to versions of Chrome. To make semantic version comparisons, we would tack on a '.0' to user the semver node module to make comparisons.
This assumption does not work with the new versioning for ChromeDriver 74 (74.0.3729.6). This is why it was not downloading the file. This change happened in approx August 2018. When this change happened fixes were added to the upcoming version of webdriver-manager 13.
So why not use webdriver-manager@13? Some reasons why this won't work with Protractor 5.4.2:
For webdriver-manager@12, the max version is stored here: https://github.com/angular/webdriver-manager/blob/legacy/config.json#L5 If a Chrome releases 75, this should also be changed to version 75 in a pull request against the legacy branch.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With