Ardesco / Selenium-Maven-Template

A maven template for Selenium that will let you check out and go.
462 stars 583 forks source link

Running from Eclipse or Jetbrains.. #72

Open manojjenago opened 2 years ago

manojjenago commented 2 years ago

Hi Ardesco,

This is a buautiful peice of code. Thanks for putting together the details. however when I try to run from eclipse or Jetbrains , I am getting error that. How do we run ? Or do I need to add anything to the system path.

java.lang.IllegalStateException: The path to the driver executable The path to the driver executable must be set by the webdriver.gecko.driver system property; for more information, see https://github.com/mozilla/geckodriver. The latest version can be downloaded from https://github.com/mozilla/geckodriver/releases at org.openqa.selenium.internal.Require$StateChecker.nonNull(Require.java:280) ~[selenium-api-4.1.0.jar:?]

alexislopezg commented 2 years ago

Have you tried this solution? https://stackoverflow.com/questions/38873077/in-system-setpropertywebdriver-gecko-driver-path-to-your-webdriver-wha