We have broken up selenium grid commands as below.
1.) JVM command.
java-selenium-commands-breakup
2.) Commands supported by Selenium standalone JAR file. (as on Jan 1st 2015). We are covering most used commands to setup the grid.
-role (options hub,node) â This helps to instruct stand alone JAR file to act according to role defined. By default selenium stand alone will start as server, by defining role we can instruct stand alone server to act as node or grid hub. There are many other roles which are not covered here.
-browser (In case we are using JAR file to initiate node, using browser comand we can specifiy which browser to be acted as)
e.g.
browserName=firefox,version=34.0.5,maxInstances=5,platform=WINDOWS
Here,
-
browerName = name of the browser you want to specify
-
version = version of the browser
-
maxInstance = Maximum number of parallel instances supported by node.
-
platform = WINDOWS (Specify operating system name of the node.)
-
firefox_binary= if you want to instruct JAR file to look for binary from some other location then default location.
-hub = Specify location of grid.
e.g.http://localhost:4444/grid/register
If you grid hub is on some other computer, specify IP address of the computer hosting grid hub.