There are some steps to start the Hub(Server) and then register the Node(OS) with Hub.
java -jar selenium-server-standalone-3.6.0.jar -role hub
========================================================================
@@@@ Run this Command for Node Configure with Chrome Browser in Window OS @@@@
java -Dwebdriver.chrome.driver=D:\SeleniumGrid\drivers\chromedriver.exe -jar selenium-server-standalone-3.6.0.jar -role node -hub http://192.168.3.12:4444/grid/register -browser browserName=chrome -port 5555
========================================================================
@@@@ Run this Command for Node Configure with Firefox Browser in Window OS @@@@
java -Dwebdriver.geckodriver.driver=D:\SeleniumGrid\drivers\geckodriver.exe -jar selenium-server-standalone-3.6.0.jar -role node -hub http://192.168.3.12:4444/grid/register -browser browserName=firefox -port 5555
========================================================================
@@@@@ Run this Command for Node Configure with IE Browser in Window OS @@@@@
java -Dwebdriver.ie.driver=D:\SeleniumGrid\drivers\IEDriverServer.exe -jar selenium-server-standalone-3.6.0.jar -role node -hub http://192.168.3.12:4444/grid/register -browser browserName=ie -port 5555
========================================================================
Run this Command for Node Configure with both firfox,ie and Chrome Browser in Window OS
java -Dwebdriver.chrome.driver=D:\SeleniumGrid\drivers\chromedriver.exe -Dwebdriver.gecko.driver=D:\SeleniumGrid\drivers\geckodriver.exe -Dwebdriver.ie.driver=D:\SeleniumGrid\drivers\IEDriverServer.exe
-jar selenium-server-standalone-3.6.0.jar -role node -hub http://192.168.3.12:4444/grid/register
No comments:
Post a Comment