Launch Selenium Grid Hub And Nodes Using “JSON” Config File

What is JSON? “JavaScript Object Notation” is full form of JSON and it is best way to store information in an organized, easy-to-access and easy to read and understand manner. Here we can use it to store selenium grid config parameters. What is usage of JSON in selenium grid? Well.. Answer is :  When we … Read more

Running Multiple Nodes Of Selenium Grid On Same Machine To Run WebDriver Test

Earlier we learnt, How to start single node on one machine as described in THIS POST. Now our next question is “can we run multiple selenium grid nodes on same machine?”. Answer is yes. Selenium grid allows us to run multiple nodes on same machine. In general, It is not required to run multiple nodes … Read more

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