A project that shows one way of combining the following: Cucumber-JVM, Groovy and Selenium.
To run the tests, simply type mvn clean verify
from the command-line. You may also run the tests, by executing the RunCucumberITCase
file from within an IDE (like IntelliJ IDEA)
- download a copy of ChromeDriver. NOTE: the ChromeDriver version should match your Chrome browser version
- create a directory on your file system. For example, on Mac
/Users/<user name>/chromedriver
. On WindowsC:/Users/<user name>/chromedriver
- copy the
.zip
file downloaded in step 1 into the directory created in step 2 - unzip the file
- add the directory created in step 2 to your
PATH
environment variable