Selenium Grid 4

Want to run tests in parallel across multiple machines? Then, Grid is for you.

Selenium Grid allows the execution of WebDriver scripts on remote machines (virtual or real) by routing commands sent by the client to remote browser instances. It aims to provide an easy way to run tests in parallel on multiple machines.

Selenium Grid allows us to run tests in parallel on multiple machines, and to manage different browser versions and browser configurations centrally (instead of in each individual test).

Selenium Grid is not a silver bullet. It solves a subset of common delegation and distribution problems, but will for example not manage your infrastructure, and might not suit your specific needs.

Purposes and main functionalities

  • Central entry point for all tests
  • Management and control of the nodes / environment where the browsers run
  • Scaling
  • Running tests in parallel
  • Cross-platform testing
  • Load balancing

Getting started with Selenium Grid

Instructions, step by step, showing how to run a simple Selenium Grid.

When to Use a Grid

Is Grid the right tool for you?

Selenium Grid Components

Check the different Grid components to understand how to use them.

Configuration of Components

Here you can see how each Grid component can be configured individually based on common configuration values and component-specific configuration values.

Grid architecture

Advanced features of Selenium

To get all the details of the advanced features, understand how it works, and how to set up your own, please browse thorough the following sections.