selenium-webdriver Selenium Grid Configuration

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9


Selenium Grid is a framework to run test distributed over a range of test devices. It's used for testing web applications. Its possible to write tests in different popular programming languages, including C#, Groovy, Java, Perl, PHP, Python and Ruby. The tests can be run against a range of webbrowsers on platforms like Windows, Linux, and OS X.

It is open-source software, released under the Apache 2.0 license: web developers can download and use it without charge.


  • for to run the jar file the following is the syntax for every jar file
  • java -jar <jar-file-full-name>.jar -<your parameters if any>


roleIs what tells the selenium which it was hub or node
portThis is to specify which port the hub or node should be listening.
hubThis parameter is used in node to specify the hub url
browserNameIts been used in node to specify the browser name like firefox, chrome, internet explorer
maxInstancesIts where the instance of the browser is being specified eg. 5 means there will be 5 instance of the browser which user specified will be present.
nodeConfigA Json configuration file for the node. You can specify the role, port etc. in here
hubConfigA Json configuration file for the node. You can specify the role, port, max instances etc. in here

Got any selenium-webdriver Question?