Setting up Selenium Grid

こ雲淡風輕ζ 提交于 2019-12-01 08:16:13

You can start the selenium grid as follows

java -jar selenium-server-standalone-2.21.0.jar -role hub

You can start the selenium node as follows

java -jar selenium-server-standalone-2.21.0.jar -role node -hubHost <<hostname/ip>> -hubPort 4444

Instead of the string <<hostname/ip>>, give the hostname or ip of the machine where hub is running. If both the node & hub are in same machine, you need to use localhost or 127.0.0.1

You need to give the IP address of the machine on which the Hub is running. Check if the IP is routable from the remote "other" machine.

Instead of localhost, put your IP : so you should have something like : -hub http://192.168.x.x:4444/grid/register, or whatever your IP is.

i resloved the issue it was due to jboss which was running on the same server ,Please close the instance of jboss

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!