Comments (2)
Using the latest WebDriverManager version (5.7.0 at the time of this writing) and clearing the cache (at least once) should fix this issue:
WebDriverManager.chromedriver().clearDriverCache().setup();
If not, please report your WebDriverManager traces. See: https://bonigarcia.dev/webdrivermanager/#troubleshooting
from webdrivermanager.
Hello!
I am using latest WebDriverManager version 5.8.0 and still have similar problem even with suggested fix.
org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 124
Current browser version is 123.0.6312.122 with binary path /Applications/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing
After debugging if is clear version of ChromeDriver is detected based on ordinary Chrome version via shell command.
➜ /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --version
Google Chrome 124.0.6367.61
~
➜ /Applications/Google\ Chrome\ for\ Testing.app/Contents/MacOS/Google\ Chrome\ for\ Testing --version
Google Chrome for Testing 123.0.6312.122
As a result eventually always latest ChomeDriver is being used and it required manually updating Chrome for Testing but in this case it is even more tricky since there is not compatible version available on https://googlechromelabs.github.io/chrome-for-testing/ (only 123, 125, 126 versions available as of now).
Quick solution locally to unblock for me now is to specify WebDriverManager.chromedriver().browserVersion('123').setup()
.
Big question is if it is correct by nature to detect browser version for chromedriver based on ordinary Chrome if Chrome for Testing is installed on particular machine and will be automatically used for test execution?
from webdrivermanager.
Related Issues (20)
- 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
- 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
- org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure HOT 1
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.