This repository includes cucumber selenium tests examples using wikipedia.org.
To run tests on your local machine, you need to do the following steps:
- Create the
/tmp/driver/
folders structuremkdir -p /tmp/driver
- Create environment variable
export CHROMEDRIVER_FULL_PATH=/tmp/driver/chromedriver
- Check your local Chrome browser version and download corresponding chromedriver on your local machine
- Unzip downloaded archive to aa pre-defined path
unzip chromedriver_mac64.zip -d /tmp/driver
- Add permission to execute the file
chmod +x /tmp/driver/chromedriver
- Clone this repository
git clone https://github.com/vznd/cucumber-selenium-tests.git
- Run tests
mvn test