Before we get started let’s take a moment to get to know Selenium-Grid.
Selenium-Grid allows you run your Selenium tests on different machines against different browsers in parallel. That is, running multiple tests at the same time against different machines running different browsers and operating systems. Essentially, Selenium-Grid support distributed test execution. It allows for running your tests in a distributed test execution environment.
Building a Selenium-Grid environment with Docker
Even though we will be using Docker in this demo, we will not be spending much time on the Docker setup and installation. Therefore, I recommend you check out our presentation “Introduction to Docker” for more details on setting up and using Docker. With that being said this demo is a complete walkthrough on how to build your working selenium-grid. We will walk through a step by step approach on how to implement a selenium grid. Such as, building a stand-alone selenium-grid with firefox and building a selenium grid with three containers (a hub, firefox, and chrome).
We will be covering the following topics:
- What is Selenium?
- What is Selenium Grid?
- The Benefits of Using Selenium Grid
- What is Docker?
- Why Use Selenium Grid with Docker?
- Walk thru Building a Selenium Grid with Docker
Additional Resources you will need:
This series comes from our mentoring/mastermind classes. These classes are virtual meetings that focus on how to improve our technical skills and build our businesses. The goals of each member vary. However, this diversity makes for great discussions and a ton of educational value every time we meet. We hope you enjoy viewing this series as much as we enjoy creating it. As always, this may not be all new to you, but we hope it helps you be a better developer.