I want to run the test in 2 different machines(2 different nodes) on the same network using SELENIUM GRID2.
When i run the test, test is running in one node(node registered first to the hub)
Launched a GRID Hub in - http://11.111.111.11:4444
Registered 2 nodes from 2 different machines in the same network.
Node 1 :
xxxx://11.111.111.11:4444/grid/register -port 5557
Node 2 :
xxxx://11.111.111.11:4444/grid/register -port 5558
finally passed/provided the hub URL in the code mentioned below
String hubURL = "xxxx://11.111.111.11:4444/wd/hub";
driver = new RemoteWebDriver(new URL(hubURL), caps);
But the test is running in one node(node registered first to the hub)
The test is not getting executed/running in 2 nodes
Please help me with this scenario