Set Selenium Grid Node “timeout” When Running WebDriver Test

“timeout” is node configuration parameter using which you can set timeout for selenium grid node browser session. If you set “-timeout 20000” and run test, If node browser not receiving any command and stay ideal for 20 seconds then it will be closed automatically by –timeout parameter. That means it tells node browser -> “wait max 20 … Read more

Usage of “maxSession” In Grid 2 To Set Number Of Max Session Of Browser Instances

We learnt about “maxInstances” in my PREVIOUS POST. “maxSession” is another configuration parameter which helps to set max allowed sessions to run at a time on that specific node. Here session means number of concurrent browsers in terms of all browser. It will not allow that specific node to open browser more than value of “maxSession”. … Read more

Usage Of “maxInstances” In Grid 2 To Set Allowed Max Number Of Browser Instances

“maxInstances” is configuration parameter which is used during selenium grid 2 node configuration. Using “maxInstances” in selenium grid 2, We can set “how many max number of same browser instances are allowed to open and run software test at same time”. “maxInstances” tells node machine to not allow more than allowed instances on that specific … Read more

Selenium Grid 2 – Using @DataProvider To Run Parallel WebDriver Tests

In my previous post, We learnt how to execute selenium WebDriver single software automation test in multiple browsers in parallel using Selenium Grid 2. We had used “parameter” tag in testng.xml file to feed browser name in which your software automation test needs to run in parallel. Instead of using @Parameters, We can use @DataProvider … Read more