Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

0
selenium grid commands break ups

Solved 1 Answers 110 Views Selenium
0 1
I am trying to setup grid. I need helping hand in breaking up selenium grid commands. I need explaination where I can understand, which command does what.

1 Answer

0
Best answer
0

 

We have broken up selenium grid commands as below.

1.) JVM command.

java-selenium-commands-breakup

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.

answered by (327 points)
selected by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...