A lean automation architecture built for e2e testing of web applications, developed with Java and Selenium 4.
Make sure you have installed and configured the environment variables and all the following prerequisites on your development machine:
OS | JDK | Maven | Docker |
---|---|---|---|
Windows | scoop install java/openjdk |
scoop install maven |
winget install -e --id Docker.DockerDesktop |
macOS | brew install openjdk |
brew install maven |
brew install docker |
- Clone the repository.
git clone git@github.com:burakkaygusuz/selenium-java-architecture-skeleton.git
- Change the directory.
cd selenium-java-architecture-skeleton
- Execute the .yml file to start the Selenium Grid.
DOCKER_DEFAULT_PLATFORM=linux/amd64 docker-compose -f docker-compose.yml up
- Run the test.
mvn clean test