Giter Site home page Giter Site logo

Comments (10)

rosolko avatar rosolko commented on July 20, 2024

@SergeyPirogov To work with system variables you need to administrator privileges.

from webdrivermanager.net.

SergeyPirogov avatar SergeyPirogov commented on July 20, 2024

@rosolko Ok, how to enable them? I've just put my peace of code as you've shown in example

from webdrivermanager.net.

rosolko avatar rosolko commented on July 20, 2024

@SergeyPirogov Run you tests/IDE with admin administrator privileges.

from webdrivermanager.net.

SergeyPirogov avatar SergeyPirogov commented on July 20, 2024

Unhandled Exception: OpenQA.Selenium.DriverServiceNotFoundException: The geckodriver.exe file does not exist in the current directory or in a directory on the PATH environment variable. The driver can be downloaded at https://github.com/mozilla/geckodriver/releases.

from webdrivermanager.net.

rosolko avatar rosolko commented on July 20, 2024

@SergeyPirogov Good. This is okay. Check please path variables for webdriver.gecko.driver. If it exists and contains valid value add %webdriver.gecko.driver% to PATH. For now I didn't add it automatically because of issue #2

from webdrivermanager.net.

SergeyPirogov avatar SergeyPirogov commented on July 20, 2024

@rosolko Well variable exists and have valid path, but still require me to set Variable.

Of course, I can easily add it, but the main purpose of the library is to do that automatically, so I will be able to run my tests whenever I want.

from webdrivermanager.net.

rosolko avatar rosolko commented on July 20, 2024

@SergeyPirogov I can enable PATH overriding by default, but as I sad previously the way to override them isn't so good :(

from webdrivermanager.net.

SergeyPirogov avatar SergeyPirogov commented on July 20, 2024

@rosolko So while it's not solved people will not use this library. Because as a user i want to add library and see magic, but now I struggle will all this problems.

Moreover I think this behavior should be documented somehow

from webdrivermanager.net.

rosolko avatar rosolko commented on July 20, 2024

@SergeyPirogov Can you please checkout build 1.3.0 and verify this on your side?

from webdrivermanager.net.

SergeyPirogov avatar SergeyPirogov commented on July 20, 2024

Now it works well

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.