Chapter 9. Hooking Docker into Selenium

In this chapter, we will have a look at how we can get started with Docker and use it with Selenium. We will:

  • Install Docker on our machines
  • Set up Selenium Grid using Docker
  • Learn how to start Docker containers as a part of our build

This will be a brief introduction to Docker and how it can be used with Selenium. It should give you an idea of the potential capabilities of Docker and get you thinking about ways in which you could integrate it into your current build process.

Introducing Docker

So, what is Docker?

Well, Docker is like a VM (virtual machine), but it's not. In a traditional VM setup, you would take a machine, install an operating system on that machine, and then install a hypervisor such as VirtualBox ...

Get Mastering Selenium WebDriver now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.