This project is designed to build a Docker image for running Selenium tests.
- Docker installed on your machine
- update application url in this file: src/main/resources/config.properties
- update Grid url in this file: src/main/java/com/framework/selenium/api/base/DriverInstance.java
To build the Docker image, run the following command in your terminal:
docker build -t pos-selenium-test:latest -f posdockerfile .
To run the Selenium tests using the Docker image, use the following command:
docker run pos-selenium-test:latest