Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check if selenium server is running in background

Tags:

selenium

Hi am using selenium 2.0 with netbeans IDE. I am writing a code to check if selenium server is running.But am not able to identify if its running or not because there no process in task manager or its not listed in services. Am using java code. So can anyone check with it and do the needfull.

like image 582
AJu Avatar asked Feb 28 '11 12:02

AJu


2 Answers

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

It will show the log of running server otherwise show unable to connect/page is not availble.

Or You can also check with http://localhost:4444/selenium-server/driver/?cmd=getLogMessages If serveris runnning then it will show 'ok' in browser.

like image 153
Ankit K Gupta Avatar answered Oct 02 '22 10:10

Ankit K Gupta


You can see, if the port is active, see also

How to check whether Selenium Server is running

like image 43
Tobias Schittkowski Avatar answered Oct 02 '22 12:10

Tobias Schittkowski