WebDriver Grid setup
Launching Hub:
Open command prompt got to your selenium server jar file and run command: >
java -jar selenium-server-standalone-2.21.0.jar -host localhost -port 4444 -role hub
Launching Node 1:
open command prompt go to you selenium server jar file and execute command: >
java -jar selenium-server-standalone-2.21.0.jar -host localhost -port 5555 -role webdriver -hub http://localhost:4444/grid/register -browser browserName=firefox,platform=WINDOWS
Launching Node 2:
open another command prompt go to you selenium server jar file and execute command: >
java -jar selenium-server-standalone-2.21.0.jar -host localhost -port 5556 -role webdriver -hub http://:4444/grid/register -browser browserName=iehtafirefox,platform=WINDOWS
Comments
Post a Comment