1. Run a Selenium Hub with nodes for Firefox and Chrome
In the previous assignment we used a single Firefox container, but often you will want to test your application in multiple browsers. Figure out which containers you need and how to adjust the SimpleTest class to use the Chrome browser.
2. Docker Compose
Let’s see if we can do the previous assignment again, using Docker Compose. Create a YAML file that describes the necessary containers and bring them online with the docker-compose
command.
Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration.