1.

How to configure Hub on a Windows machine?

Answer»

Before proceeding further with configuration make sure Java is installed on your system and environment variable is set. Now to configure Hub, first, you need to download the SELENIUM Server JAR FILE 'selenium-server-standalone-3.141.59.jar' from Seleniumhq's website.

Place this Jar file in an appropriate directory (says c:/Selenium Server. )

Open windows COMMAND prompt and navigate to the directory where Jar file is stored.

for example c:>Selenium Server

Now EXECUTE below command -

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

Where selenium-server-standalone-3.141.59.jar is the downloaded jar file. -role flag is used to set a host machine as Hub. One thing to keep in mind is Hub will be up and running as long as the command prompt is open. By default, the selenium grid uses 4444 port for web interfaces. To check whether the Hub is up and running open browser and navigate to http://localhost:4444 and you will see below UI.



Discussion

No Comment Found