Selenium: Invalid “already running” error when starting server

后端 未结 15 2410
名媛妹妹
名媛妹妹 2021-01-31 02:32

I am trying to get the Selenium server up and running. However, when I type:

java -jar selenium-server-standalone-2.0b3.jar

I get an Exception

15条回答
  •  庸人自扰
    2021-01-31 03:09

    To shut down the server you can use: http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer

    It will give message OKOK , means it got shutdown. If the server is not running then it will show "This web page not available"

    To check the selenium server status , use this http://localhost:4444/selenium-server/driver/?cmd=getLogMessages

    It will give OK if server is running , if not running then it will show webpage not available

提交回复
热议问题