How to Run the Tests on Your Computer
Explore how to run Selenium WebDriver tests on your local machine using Java JDK and Maven. This lesson guides you through installing required software, setting environment variables, downloading necessary drivers, and executing tests from the command line to help you validate your automation before CI/CD integration.
Please follow the steps stated below to run the Selenium tests on your computer.
Install Java and Maven
- Install Java JDK. You cannot use Java JRE because Maven only works with Java JDK.
- Install Maven.