Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(chromedriver): support downloads for chromedriver beyond 2.46 (#377)
Versions of Chromdriver were versioned as 2.xx. We previously used to tack on a '.0' at the end to make it a semver version. This is why it was not downloading 74.0.3729.6. We now have to change 74.0.3729.6 to be a semver. We will do this by grabbing 74.0.3729 with a regex. This should work when downloading the latest chromedriver version since 2.46.0 < 74.0.3729. If Chromedriver releases 75 but we are still on Chrome 74, this will still break in this version of webdriver-manager. This does not prevent latest Chromedriver and latest Chrome mismatches. If you run into an issue where Chromedriver is mismatched with Chrome, use the --versions.chrome flag to pass in the version to download.
- Loading branch information