How to Setup a Hub,Node and parallel execution for Selenium Grid
How to Setup a Hub and Node for Selenium Grid Selenium Grid allows us to execute our tests in multiple machines (physical / virtual) and multiple browsers with different versions, which dramatically speeds up test execution and helps in reducing total amount of time required for test execution. For example , if we have a script that takes 100 minutes to execute sequentially , we could break that down to 10 short tests script run across 10 machines, and can complete them in 10 minutes without copying your test code to the other machine. A grid consists of a single hub, and one or more nodes, Hub and Node are the two main elements that you come across when using grid. Download selenium grid and selenium server. Hub the Hub is the central point which will receive all the test requests along with information on which browser, platform (i.e. WINDOWS, LINUX, etc) and where the test should be run. Based on the request received, it will distribute them to the registered nodes.