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
webdriver.chrome.binary is ignored #548
Comments
I just tried setting:
but I still get the wrong version of chromedriver. |
As of this writing I am using:
I would like to use version 86, but I always end up with:
|
I had a browse through the source. Apparently |
Can you try to set this as
|
I still get the same:
Do I need the |
Hi @SiKing I think you can try. If the |
@SiKing I just realized that the |
Finally got it to work! I need:
I did not use |
I think I must be going crazy! Last night I ran my full test suite: ~160 tests, running parallel across 4 threads. The first ~10 tests ran with version 86, as I was expecting. Then the remainder of the tests were run with version 84. I do not understand how this is possible. |
I will try to reproduce it locally. |
This is on Jenkins, so headless. |
The @SiKing Maybe your problem is that you are using Chrome and Chrome beta in the same test suite. Since WebDriverManager caches the found browser version, it can cause problems in this case. The solution should be using BTW the expected value of |
@SiKing Please update to WebDriverManager 4.2.1, just released and use |
Or even better, use version 4.2.2 (former version has a bug related to Edge). |
This now works. I used version 4.2.2, and only So just out of curiosity, what does |
The configuration key |
Description of the problem:
When running my tests in CI, I want to use the latest (Chrome-Beta) browser. So I set the property:
Unfortunately, webdrivermanager ignores this and detects the previous version, from
/usr/bin/google-chrome
.It would be desirable if webdrivermanager respected this property.
Browser and version:
All
Operating system:
All
WebDriverManager version:
4.1.0
WebDriverManager use:
I use the webdriver manager via Serenity-BDD https://github.com/serenity-bdd/serenity-core
The text was updated successfully, but these errors were encountered: