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.
java -jar <jar-file-full-name>.jar -<your parameters if any>| Parameters | Details |
|---|---|
| role | Is what tells the selenium which it was hub or node |
| port | This is to specify which port the hub or node should be listening. |
| hub | This parameter is used in node to specify the hub url |
| browserName | Its been used in node to specify the browser name like firefox, chrome, internet explorer |
| maxInstances | Its 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. |
| nodeConfig | A Json configuration file for the node. You can specify the role, port etc. in here |
| hubConfig | A Json configuration file for the node. You can specify the role, port, max instances etc. in here |