This IntelliJ / Gradle project is an example of testing a web UI.
You will need Git and Gradle installed
- Clone the repository
git clone https://github.com/carlbray/web-test.git
- Download the chrome driver from http://chromedriver.chromium.org/downloads
Unzip it
Open the web-test/build.gradle file
Set the driver property to the executable
systemProperty 'webdriver.chrome.driver', 'D:\\selenium\\chromedriver.exe'
- Run the test
gradle
web-test/build/reports/tests/test/index.html