This is a Java Mevan project with the dependencies:
- Selenium
- TestNG
- WebDriverManager
- Applitools
- Open the projet with IntelliJ (or any other preferred IDE)
- Locate the test files (under src/test/java folder)
- Go to edit run configurations and click paramters tab
- Create a variable named as "runnerType"
- If you want to run on classic runner, set the value of the above parameter to "classic"
- If you want to run on ultra-fast grid runner, set the value of the above parameter to "visual grid"
- Locate the TestBase class (under src/main/java folder) & replace the API KEY with your API KEY
- Now run the test
Check how to run video here: https://youtu.be/uqTl7U70_l0
The Applitools Eyes integration related code-base is scripted in the TestBase class under the package "src/main/java" which supports running on classic runner and visual grid based on the parameter you set in run configurations.
A descriptive explanation about the code-base can be found on Medium.com: https://medium.com/geekculture/applitools-eyes-integration-with-selenium-java-173db0e391c7