Answers for "what is nodes and hubs in selenium grid"

0

what is nodes and hubs in selenium grid

-we run this jar from 2 roles: hub and node
-hub receives commands Webdriver object of the client
-then hub is looking for available nodes 
 for execution.
-nodes are executing tests
Posted by: Guest on January-08-2021
0

how to configure selenium grid to driver

I configure my driver class to run remote test.
DesiredCapabilities.desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability("browser","chrome");
URL gridUrl = new URL("http://ipAdress.4444/wd/hub");
driverPool.set(new RemoteWebDriver(gridUrl, desiredCapabilities));
Posted by: Guest on January-08-2021
-1

how selenium grid looks like

-it's a java program looks like jar file
-we run this jar from 2 roles: hub and node
-hub receives commands Webdriver object of the client
-then hub is looking for available nodes 
 for execution.
-nodes are executing tests
Posted by: Guest on January-08-2021

Browse Popular Code Answers by Language