Course Content
Testing Tools
Testing Tools
0/1
Sample Python Programs
Sample Python Programs
0/1
Selenium Python First Script
Selenium Python First Script
0/2
HTML Form elements
HTML Form elements
0/1
Handle HTML Frames
Handle HTML Frames
0/2
Handling Dropdown Lists
Handling Dropdown Lists
0/2
Selenium Action class
Selenium Action class
0/1
Python Database Programming
Python Database Programming
0/1
Selenium Python for Beginners [ 2024 ]
About Lesson

Grid Architecture Diagram

Here is a step-by-step guide to setting up and running tests on Selenium Grid.

Selenium Grid setup. The diagram below has three nodes. The hub forwards the test request to the nodes, and the actual test execution takes place at the matching node.

 

Selenium Grid Architecture Python

Selenium Hub

The hub is the central server that receives the requests to execute the tests.

Selenium Hub is a central point that controls the execution of tests on different machines and browsers. It allows tests to be executed on multiple Selenium nodes, enabling parallel and distributed testing.

Selenium Node

A Selenium node is a machine that runs the browser instances and tests controlled by the Selenium Hub. You can configure and run multiple nodes. Nodes allow distributed testing and increase the efficiency of test execution.

The hub forwards the request to the matching node, which executes the test. The grid setup can have multiple heterogeneous nodes.

  • A node can run Chrome browser on Windows.
  • Another node can run the Firefox browser on Linux.
  • One node can run the Safari browser on a MacOS.
  • Another node can be a mobile browser running on an Android device.

Selenium Grid Diagram

Sample testing using Selenium Grid Diagram:

 

Selenium Grid Standalone

Join the conversation