Geb - Browser Automation with Groovy
Follow the instructions on Geb latest manual to install Geb.
Then use eclipse to create a Gradle or Groovy project.
Encountered this message:
Go to https://github.com/mozilla/geckodriver/releases and download the latest geckodriver, extract it to somewhere.
Caught: 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
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
Setting the system properties by passing the properties in run configuration:
-Dwebdriver.gecko.driver=/path_to_geckodriver/geckodriverReference:
Selenium website - https://www.seleniumhq.org/
Geb book in Chinese - https://learngeb-ebook.readbook.tw/
Geb website - http://www.gebish.org/
Geb latest manual - http://www.gebish.org/manual/current/
Comments