Selenium: Invalid “already running” error when starting server

后端 未结 15 2242
名媛妹妹
名媛妹妹 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:36

    This worked for me:

    http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer

    If selenium server is already running on port 4444 then it will shut down the server and says OKOK if selenium is not running on this port 4444 then by hitting above url will give you "Unable to connect"

提交回复
热议问题