How to check if selenium server is running in the background

Hi, I am using selenium 2.0 with netbeans IDE. I am writing code to check if the selenium server is running. But I canโ€™t determine if it works or not, because there is no or not a list of services in the task manager. I am using java code. So can someone check with him and make needfull.

+4
source share
2 answers

You can easily check if the selenium server is working or not. open this link in broweser - http: // localhost: 4444 / wd / hub / status

It will show the log of the running server, otherwise it shows that it is impossible to connect / the page is inaccessible.

Or you can also check http: // localhost: 4444 / selenium-server / driver /? Cmd = getLogMessages If serveris runnning, then it will display "ok" in the browser.

+3
source

You can see if the port is active, see also

How to check if Selenium server is working

+2
source

Source: https://habr.com/ru/post/1341643/


All Articles