Xceptance / neodymium-library

A test automation library based on common other best practice open source libraries. It adds missing functionalities but does not reinvent the wheel. Just glues stuff together nicely and adds some sprinkles.
MIT License
80 stars 11 forks source link

Bug: Selenium Manager is downloaded even if both driver and browser are in PATH #292

Open oomelianchuk opened 3 weeks ago

oomelianchuk commented 3 weeks ago

Selenium 4 offers an option to set up an environment for the run by downloading the browser and driver (doesn't always work in every environment). Even if both driver and browser are in PATH, the Selenium manager is still downloaded (but the driver and browser not as the downloaded Selenium manager finds them in PATH). This can be annoying especially in such environments as Jenkins, where every build has it's own workspace and therefore Selenium manager gets downloaded on every build and is not deleted afterwards. This can lead to littering of the hard drive.

Please, make Neo first check if the driver exists in PATH and if so, pass the path to it directly to Selenium to avoid downloading the Selenium manager.