Seleniumを実行しようとしていますが、このエラーが発生しています。ChromeまたはFirefoxを使用してJavaとBDDを使用してEclipseでSeleniumを実行できない
java.lang.IllegalStateException: 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 com.google.common.base.Preconditions.checkState(Preconditions.java:199)
atorg.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:109)
at org.openqa.selenium.firefox.GeckoDriverService.access$100(GeckoDriverService.java:38)
at org.openqa.selenium.firefox.GeckoDriverService$Builder.findDefaultExecutable(GeckoDriverService.java:91)
at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:296)
at org.openqa.selenium.firefox.FirefoxDriver.createCommandExecutor(FirefoxDriver.java:245)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:220)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:215)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:211)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:124)
at
CCRX.CCRX2.App.user_at_login_p3age(App.java:36)
at ✽.Given User at login page(src/test/resources/loginpage.feature:5)