selenium icon indicating copy to clipboard operation
selenium copied to clipboard

Use of "-1" as port if not specified in the `-hub` URL

Open toote opened this issue 11 years ago • 2 comments

If you setup a selenium to connect to a hub using the option -hub http://example.com/grid/register the following appears in the error log output:

17:41:01.837 INFO - Registering the node to hub :http://example.com:-1/grid/register

toote avatar Apr 07 '15 17:04 toote

@toote While setting up, you should also provide the port number on which hub is running.

From the wiki page - https://code.google.com/p/selenium/wiki/Grid2: the command to start node is : java -jar selenium-server-standalone-2.14.0.jar -role node -hub http://localhost:4444/grid/register

AJ-72 avatar May 20 '15 03:05 AJ-72

@AJ-72 thanks for the response. I knew about that, the report is to make it use a default port or give an error instead of using that obviously invalid port

toote avatar May 21 '15 14:05 toote