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 in Selenium by Dharmesh
30 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 by Navneet

edited May 28

Related Questions In Selenium

0 votes
1 answer
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
111 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
2,432 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,790 points
169 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,110 points
918 views
0 votes
1 answer

What is the difference between findElement and findElements in Selenium Webdriver?

Hi Nilaabh, Selenium Webdriver uses findElement and ...READ MORE

answered May 8 in Selenium by Anvi
• 13,960 points
547 views
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 in Selenium by Anvi
• 13,960 points
104 views