What is a Hub and a Node in Selenium Grid?

0 votes
Can anyone explain what is a Hub and a Node in Selenium Grid?
May 28, 2019 in Selenium by Dharmesh
114 views

1 answer to this question.

0 votes

@Dharmesh, in Selenium Grid a Hub is a server or a central point that controls the test executions on different machines. In any Grid setup, there can be only one Hub and all the tests that need to be executed should be loaded here. In spite of the tests being loaded here, they will be executed only at the Nodes. We can configure any host machine to be our Hub, and it will co-ordinate the activities of test execution in other hosts. For this to happen, we need to first configure the Hub, and then make other Nodes to register to the Hub.

While, Node is the machine which is attached to the hub. There can be multiple nodes in Selenium Grid. The Nodes are the host machines on which the tests are run. The Hub can launch one or more Nodes either on remote machines or the same machine where the Hub itself is located. On each of the Nodes, different operating systems can be booted, and on different operating systems, different versions of the same browser or different browsers can be initiated.

answered May 28, 2019 by Navneet

edited May 28, 2019

Related Questions In Selenium

0 votes
1 answer

What is a Modular Framework and why it is useful in Selenium webdriver?

Hi Junaid, as the name suggests, Modular ...READ MORE

answered May 12, 2019 in Selenium by Abha
• 27,930 points
3,344 views
0 votes
2 answers
0 votes
1 answer

What is TestNG and why it is used in selenium?

Hello @User, Talking about TestNG, it is an ...READ MORE

answered Dec 24, 2018 in Selenium by Shuvodip
272 views
0 votes
1 answer

What is difference between Assert and Verify in Selenium?

Hello, talking about the definition.  Assert: If the assert condition ...READ MORE

answered Dec 31, 2018 in Selenium by Prasad
10,571 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,810 points
355 views
0 votes
1 answer
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,510 points
3,177 views
+1 vote
2 answers
0 votes
1 answer

What is Firebug and how it is useful in Selenium Automation testing?

Hello Amit, FireBug is a plugin which comes ...READ MORE

answered May 28, 2019 in Selenium by Anvi
• 14,090 points
201 views