Comments (12)
Use a fixed version of chromedriver instead of reading to the repository to get the latest version. That should do the trick. For example:
ChromeDriverManager.getInstance().setup("2.21");
from webdrivermanager.
Using your suggestion didn't change anything about the behavior:
ChromeDriverManager.getInstance().setup("2.21");
So, I have this setup in my application.properties :
wdm.chromeDriverUrl=http://chromedriver.storage.googleapis.com/
wdm.chromeDriverExport=webdriver.chrome.driver
wdm.chromeDriverVersion=2.21
And I start the driver like this:
ChromeDriverManager.getInstance().setup(Architecture.x32);
So, my question is: WHY would you suggest I call setup with a version number if I clearly state the version number that I want in my application.properties file? Also, if I want to run a previously download driver: 2.18, 2.20, or whatever, why does your code ALWAYS try to download via the wdm.chromeDriverUrl when the driver (with that version) was already previously download by WDM?
from webdrivermanager.
There was an issue related to this in version 1.4.1. Test with WebDriverManager 1.4.2 and the following command:
ChromeDriverManager.getInstance().setup(Architecture.x32, "2.21");
from webdrivermanager.
It works now for me, thanks. Forgot to tell you that I think.
from webdrivermanager.
Was having this problem again on version 1.4.1 and I just verified again that version 1.4.2 fixes the problem. Thanks again.
from webdrivermanager.
hello !
Many thanks for your library ! :)
I have such case.
And this fix is available for versions of chrome driver like 2.0 - 2.24 .
But http://chromedriver.storage.googleapis.com does not contain 3.0.1 chromedriver , that's why it is not work with 3.0.1 .
Can it be fixed?
Andrey
from webdrivermanager.
@andrey-epifanov I don't understand your point. The latest version of chromedriver at writing time is 2.27. You should be able to use ChromeDriverManager
to force a given version, for example this way:
ChromeDriverManager.getInstance().setup("2.27");
What's the problem?
from webdrivermanager.
from webdrivermanager.
Official Selenium News
http://www.seleniumhq.org/about/news.jsp
Also I try to research pages / sites like http://chromedriver.storage.googleapis.com with higher version of ChromeDriver , and don't find.
from webdrivermanager.
You are confusing the version of Selenium WebDriver which is 3.x with the version of chromedriver, which is the specific binary aimed to control Google Chrome browser with Selenium Webdriver. The latest version of chromedriver, as I said before is 2.27 currently.
from webdrivermanager.
May be. Sorry if I have mistake .
But - I execute for my maven project command : mvn dependency:tree -Dverbose
and see following :
[INFO] +- org.seleniumhq.selenium:selenium-java:jar:3.0.1:compile
[INFO] | +- org.seleniumhq.selenium:selenium-chrome-driver:jar:3.0.1:compile
[INFO] | +- org.seleniumhq.selenium:selenium-edge-driver:jar:3.0.1:compile
With best regards,
Andrey
from webdrivermanager.
@bonigarcia
After check I inclined to think that you are right, because without concrete version of chromedriver in setup I see in log :
2017-01-24 20:17:42 [main] INFO i.g.bonigarcia.wdm.BrowserManager - Reading http://chromedriver.storage.googleapis.com/ to seek chromedriver
2017-01-24 20:17:44 [main] INFO i.g.bonigarcia.wdm.BrowserManager - Latest version of chromedriver is 2.27
2017-01-24 20:17:44 [main] INFO i.g.bonigarcia.wdm.BrowserManager - Exporting webdriver.chrome.driver as C:\Users\Epifanov.m2\repository\webdriver\chromedriver\win32\2.27\chromedriver.exe
but this conflict of version is looking like trick, sorry ))
where can I watch matching versions chrome driver in seleniumhq and chromedriver in http://chromedriver.storage.googleapis.com/ ?
from webdrivermanager.
Related Issues (20)
- Error after upgrading Chrome Browser (122.0.6261.57) and WebDriver manager to 5.7.0 HOT 12
- NumberFormatException using FireFox on v5.7.0 HOT 2
- CONNECT refused by proxy; HTTP/1.1 407 Proxy Authentication required with webdrivermanager 5.7.0 HOT 1
- Docker Image Pull Issue since 22nd of Feb HOT 5
- Seeing Error io.github.bonigarcia.wdm.config.WebDriverManagerException: java.lang.NumberFormatException: For input string: "public" HOT 1
- There was an error managing chromedriver public (For input string: "public")
- There was an error managing chromedriver public (For input string: "public")
- Is there a way to disable file save pop up window when selenium script is running
- WebDriverManger Couldn't get actual chrome driver for Chrome for testing browser. HOT 2
- java.lang.NumberFormatException: For input string: "public" HOT 1
- mirror repository for chrome driver version later than 115 not work HOT 2
- org.bouncycastle:bcprov-jdk18on Observable Timing Discrepancy VULNERABILITY HOT 2
- Error running Firefox headless HOT 2
- Facing issue when executing jar in jenkins pipeline HOT 5
- Exception when creating driver manager for latest Chrome version
- Session not created: This version of ChromeDriver only supports Chrome version 114 HOT 7
- launching browsers from/on restricted containers such as flatpak HOT 4
- Latest Driver download not downloading proper driver for specific OS HOT 1
- Problems unpacking geckodriver on Mac/Linux HOT 2
- The new instance of create() has the same windowhandle ID. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webdrivermanager.