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
Chrome 74. Global Config via code. README is out of date. #313
Comments
@evanliferock try running using this system property: -Dwdm.chromeDriverVersion=73 |
@evanliferock Thanks for reporting. Indeed the README is outdated. As of WDM 3.2.0 I have just committed a patch to allow global configuration from code using a new method: |
and what about chromedriver 74? why does manager download beta driver instead of stable by default? Latest stable release: ChromeDriver 73.0.3683.68 |
Another workaround is to rename the folder for ChromeDriver 74 to use ChromeDriver 73 instead... In the while we're waiting for chrome 74 |
Where do you find this Chrome folder ? |
Yes, this is first thing I saw in the morning today. This version of ChromeDriver only supports Chrome version 74 |
To avoid this kind of problems, the latest version of WebDriverManager (3.3.0 at the time of this writing) is highly recommended. |
If you are under Windows you should find it here : |
Sry, my bad. Updated the version to 3.3.0 and it perfectly works. @bonigarcia thanks for quick reply and this amazing DriverManager. |
@nomerson add latest version in maven dependency - 3.3.0. " It works as smooth as butter. |
If you use Selenide : |
Wow a lot more comments thank I expected haha The workaround I was using for the meantime for Chrome 74 is WebDriverManager.chromedriver().version("73"); Easy enough. I assumed the I will stick with chrome 73 until the newest version with the global config is out! Thanks for the fast response and adding the globalConfig! |
Guys, I have a question. How to automatically set in dependency so that it always gets the latest version from repo? So that I don't have to update the version every time new version releases. |
@sanp0001, try this: |
One more, I'm running tests on CI. Linux machine has picked up my project and is throwing this error. This is what I have for driver
|
where is this folder situated ? |
GoTo : #313 (comment) :-) |
I reverted back to Chrome Version 73.0.3683.75 but WebDriverManager (version 3.0.0) keeps downloading chromedriver version 74.0.3729.6. (This version of ChromeDriver only supports Chrome version 74) |
This issue is closed. Follow this comment #318 (comment) WebDriverManager.chromedriver().version("73"); or upgrade to version 3.3.0. Or follow the other suggestions in this thread |
works for me!!! Thanks |
This seems to be a Linux thread and I know the issue is closed, but I am seeing the same issue on the Windows version: webdriver-manager v13.0.0 All the folders are different so I can't employ the workaround listed here. Please provide a windows based workaround. Will the underlying defect be fixed? i.e., the mismatch with Chrome version? If this is the wrong place, where would I post this for a solution? Cheers - RW |
@evanliferock I can't see your comment. It is only visible on hover and just where you recommended some solution it is cut off. |
It's in this thread, about 5 comments up. #313 (comment) |
@evanliferock Thx, I see it, in what file/folder do you put that line of code? |
Chrome 74 is a thing now. The webdrivermanger downloads chrome 74 but tries to run chrome 73 causing failure.
I was using version 3.0.0 and using
WebDriverManager.config()
to globally set the target path for all drivers to put the binaries in. However in the newer versions it doesn't seem to work. I would rather not set a target path for each browser individually so I looked for how to set global config but found this in the README:which doesn't work. How can I globally setTargetPath for all drivers.
The text was updated successfully, but these errors were encountered: