Comments (8)
I am getting below mentioned error :
System.Exception : System.Exception::: System.IO.InvalidDataException ::: Unable to initialize driver for 'chrome' webbrowser! session not created: This version of ChromeDriver only supports Chrome version 114 Current browser version is 116.0.5845.111 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe (SessionNotCreated) - Error occurred while trying to launch 'chrome'. TearDown : System.Exception : System.NullReferenceException::: Object reference not set to an instance of an object. - Exception occurred while trying to take the screen-shot.
Line of code for which this error pops-up: new WebDriverManager.DriverManager().SetUpDriver(new ChromeConfig(), VersionResolveStrategy.Latest);
Are you using the latest 2.17.1? Are you calling the SetUpDriver method with the default VersionResolveStrategy.Latest? If so, I would suggest trying it with VersionResolveStrategy.MatcingBrowser.
from webdrivermanager.net.
I am having the same issue. The latest version of WebDriverManager (2.17.1) is not working for me with Chrome 116.
from webdrivermanager.net.
Try updating Selenium.WebDriver dependency to 4.11.0. It worked for me
from webdrivermanager.net.
https://googlechromelabs.github.io/chrome-for-testing/#stable
Need to use a new link
Please, fix it
from webdrivermanager.net.
with latest version of both webdrivermanager 2.17.1 and webdriver version of 4.12.2 I am getting the same error
Can you please provide a solution for this
from webdrivermanager.net.
https://googlechromelabs.github.io/chrome-for-testing/#stable Need to use a new link Please, fix it
Pretty sure that as of 2.17, the logic has been updated to use the new chrome-for-testing end point(s). Take a look at
ChromeForTestingClient.cs in the DriverManger folder.
from webdrivermanager.net.
I am having the same issue on version 2.17.1 and chrome v116.0.5845.180. Here is the line that causes the exception
new DriverManager().SetUpDriver(new ChromeConfig(), VersionResolveStrategy.MatchingBrowser);
and also alternatively
new DriverManager().SetUpDriver(new ChromeConfig());
The exception is "An error occurred while sending the request"
from webdrivermanager.net.
I have managed to resolve this by using selenium manager (by Selenium) instead of webdrivermanager
from webdrivermanager.net.
Related Issues (20)
- Nuget is out of date HOT 1
- After chrome update getting This version of ChromeDriver only supports Chrome version 111 error HOT 1
- Help needed HOT 1
- Edge driver issue with jenkins
- Need "Control Flow Guard" Enabled On Assemblies
- [🐛 Bug]: WebDriverManager.Net not working with new chromedriver endpoints for Chrome since version 115 HOT 42
- SetUpDriver(new FirefoxConfig()) returns null! HOT 2
- FileLoadException with `System.Text.Json` when upgrading to v2.17.0 HOT 3
- Consider replace WebDriverManager by Selenium built-in SeleniumManager HOT 7
- Product version of .dll does not update with e.g. netsparkle HOT 1
- SetUpDriver attempting to write to Group Policy Directory HOT 2
- (Suggestion) Set chromedriver cache HOT 1
- Chrome on Linux gives "System.Exception : Unable to locate installed browser for runtime platform Unix" HOT 1
- VersionResolveStrategy.MatchingBrowser); -- Cannot implicitly convert type 'void' to 'string' HOT 4
- System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. ----> System.InvalidOperationException : session not created: This version of ChromeDriver only supports Chrome version 116 Current browser version is 118.0.5993.71 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe (SessionNotCreated) HOT 3
- Getting Error with calling the WebDriverManager to get the lastest exe
- can not download new chrome driver from today as there have changed directory chrome version 122 HOT 4
- WebDriverManager for .Net - DriverManager + VersionResolveStrategy.MatchingBrowser throws a System.IO.FileNotFoundException HOT 2
- Any way to automatically download latest Chrome (not chromedriver)? 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.net.