

The sample test will launch Mantis bug tracker URL and just print the Title of the login page on the console. $ docker run -d -P selenium/standalone-chromeĬheck the container details with docker ps list container utility. We can use the Docker images command to check the images on the local repository. We will run a simple Selenium test on the Google Chrome browser Pull the Docker Image In this tutorial, we will use Chrome image. Choose selenium/standalone-chrome Docker image to run a test on Google Chrome Browser.Īlternatively, to run a test on the Mozilla Firefox browser, choose the image: selenium/standalone-firefox. There would be several images in the search results. It’s like a repository of the Docker images. We can find Docker images on the Docker Hub. Docker Hub is an image library.

Open a web browser and Navigate to the Docker Hub. Docker Image becomes Docker Container on the runtime when run on the Docker Engine. A Docker container image is a lightweight, standalone package of software that includes everything needed to run an application. In this tutorial, we will learn the steps involved to run a Selenium Test on a Docker container.
