Selenium: Invalid “already running” error when starting server

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

    The error message Selenium offers up is a little confusing. It really should be telling you you're making a syntax error. I had this problem as well. Make sure the cmd string is PRECISELY like this:

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

    That means using the full command shutDownSeleniumServer, and make sure the s in shut is lower-case (That was my mistake).

    Hope this helps.

提交回复
热议问题