Giter Site home page Giter Site logo

Comments (8)

ms6073 avatar ms6073 commented on July 21, 2024

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.

manudh4 avatar manudh4 commented on July 21, 2024

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.

ShilpaLokhande-CitiusTech avatar ShilpaLokhande-CitiusTech commented on July 21, 2024

Try updating Selenium.WebDriver dependency to 4.11.0. It worked for me

from webdrivermanager.net.

ultimatet41 avatar ultimatet41 commented on July 21, 2024

image
https://googlechromelabs.github.io/chrome-for-testing/#stable
Need to use a new link
Please, fix it

from webdrivermanager.net.

xrnarayan avatar xrnarayan commented on July 21, 2024

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.

ms6073 avatar ms6073 commented on July 21, 2024

image 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.

YoungerThuggg avatar YoungerThuggg commented on July 21, 2024

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.

xrnarayan avatar xrnarayan commented on July 21, 2024

I have managed to resolve this by using selenium manager (by Selenium) instead of webdrivermanager

from webdrivermanager.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.