Package org.openqa.selenium.grid


@NullMarked package org.openqa.selenium.grid
The Selenium Grid is composed of a number of moving pieces, all of which are designed to be used either locally or across an HTTP boundary.

Sitting at the front of the system is the Router. This is responsible for looking at incoming requests and routing them to the correct location. In the case of a New Session command, it will be sent to the Distributor.

The Distributor has a number of Nodes associated with it, each of which is capable of running one or more Sessions which may or may not be running in memory. Each Node should register with a single Distributor.

When a new session is started, the Node tells the SessionMap where the Session (identified by its SessionId can be located (typically the URL of the server on which the Node is running. Conversely, when the session comes to an end, the Node is responsible for ensuring that the session is removed from the SessionMap.