Instructions, step by step, showing how to run a simple Selenium Grid.
Selenium Grid 4
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
- Running tests in parallel
- Cross-platform testing
- Load balancing
Selenium Grid 4
Grid 4 takes advantage of a number of new technologies in order to facilitate scaling up while allowing local execution.
Selenium Grid 4 is a fresh implementation and does not share the codebase the previous version had.
To get all the details of Grid 4 components, understand how it works, and how to set up you own, please browse thorough the following sections.
Is Grid the right tool for you?
Check the different Grid components to understand how to use them.
Here you can see how each Grid component can be configured individually based on common configuration values and component-specific configuration values.
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.