Run the Tests
Learn how to run the Selenium tests in a Docker container.
We'll cover the following...
Having the Docker image created, we can use the docker run
command to run the container that executes the tests:
Press + to interact
docker run -e "BROWSER=chrome" tests
The settings of the docker run command
tests
is the name of the image to be used for creating the new container.
The -e "BROWSER=chrome"
option creates an environment variable inside of the container named ...