guru99 selenium grid code example
Example 1: when do you use selenium grid
When do you use Selenium Grid?
Selenium Grid can be used to execute
same or different test scripts on
multiple platforms and browsers
concurrently so as to achieve distributed test execution.
Example 2: 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