Chrome driver should not be updated

feature-request

#1

Came across the following issue working on a project today:

Application chrome driver has been updated. Where local browser was not.
Best if driver was not update if local browser is not up to date so this error does not occur each time chrome launches a new updated.


Release notes v1.4.0
#2

WebdriverManager shall check the available browser version and upgrade the webdirver to latest only if required. Else compatible driver version shall be downloaded.


#3

This is a new behavior with Chrome that we are aware of: it is now stricter than before, when it comes to driver/browser compatibility. We are already working on a reasonable solution, and hope to provide it soon.

Meanwhile, we recommend to update to the latest version of Chrome.


#4

Hi @matthias
Thanks for the quick reply. Chrome was upgraded and tests were executed successfully


#5

Seems that this issue is not solved. Added an endpoint to Chrome 84.0.4147.89 which is currently the latest stable version. While running a test with this endpoint it installs the chromedriver 85, see the output from the log:

[email protected] selenium C:\Dev\Testing-E2E
selenium-standalone start “–drivers.chrome.arch=x64” “–drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com” “–drivers.chrome.version=85.0.4183.38”

Then it fails to launch because of the wrong version:

E/launcher - Error: SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 85
Build info: version: ‘3.12.0’, revision: ‘7c6e0b3’, time: ‘2018-05-08T15:15:08.936Z’