-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Driver version cache exception for Chrome does not work #171
Comments
@davidstosik Thank you for the detailed bug report. I am able to reproduce it by following your steps. What's interesting is that we have an unit test for this exact scenario, which is passing ( |
@davidstosik I have updated the specs to catch this bug and also have a possible fix that passes the test you shared:
As you can see, the default cache timeout value of 24 hours was ignored and the latest compatible driver version for Chrome 83.0.4103 was downloaded. I'll push the fix to |
@davidstosik I just pushed the fix (564907d) to If everything looks good, I'll try to push out a patch release within this week. |
v4.4.0 has been released with this fix. |
Summary
From the README:
I've just experienced a scenario where that did not happen.
Debug Info
Please provide the following information for bug reports:
Here's all the debugging data I have:
Chrome version:
I have a hunch the
~/.webdrivers/chromedriver.version
cache file was created within the last 24 hours, but cannot confirm that, as it was deleted in order to fix the problem.Expected Behavior
Having Chrome 83.* running, while
chromediver
is at version 81.*, I would expect, as mentioned in the README, that the version number cache would be ignored, andchromedriver
updated to its latest version 83.*, "to make sure [I'm] using a compatible version".Actual Behavior
The following error is raised:
Deleting
~/.webdrivers/chromedriver.version
fixed the issue.The text was updated successfully, but these errors were encountered: