This is the example project for the Selenium Java JUnit tutorial. It shows how to start automating visual tests with Applitools Eyes and the Ultrafast Grid using Selenium WebDriver in Java.
It uses:
- Java as the programming language
- Selenium WebDriver for browser automation
- Google Chrome as the local browser for testing
- Apache Maven for dependency management
- JUnit 5 as the core test framework
- Applitools Eyes for visual testing
- Applitools Ultrafast Grid for cross-browser execution
To run this example project, you'll need:
- An Applitools account, which you can register for free.
- The Java Development Kit (JDK), version 8 or higher.
- A good Java editor, such as JetBrains IntelliJ IDEA.
- Apache Maven (typically bundled with IDEs).
- An up-to-date version of Google Chrome.
- A corresponding version of ChromeDriver.
The main test case is AcmeBankTests.java.
To execute tests, set the APPLITOOLS_API_KEY environment variable
to your account's API key,
and then run:
mvn test
For full instructions on running this project, take our Selenium Java JUnit tutorial!