[英]Selenium standalone server jar file hangs
I'm having an issue running the Selenium standalone server -- it just hangs partway through loading. 我在运行Selenium独立服务器时遇到问题-它只是在加载过程中挂起。 I've tried several different versions of the standalone server but the same issue arises.
我尝试了独立服务器的几种不同版本,但是出现了相同的问题。 From the command line I run...
从命令行运行...
java -jar selenium-server-standalone-2.25.0.jar
And get back... 回来...
Oct 16, 2012 8:29:34 PM org.openqa.grid.selenium.GridLauncher main
INFO: Launching a standalone server
20:29:40.190 INFO - Java: Apple Inc. 20.10-b01-428
20:29:40.193 INFO - OS: Mac OS X 10.7.4 x86_64
20:29:40.202 INFO - v2.25.0, with Core v2.25.0. Built from revision 17137
20:29:40.322 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
20:29:40.324 INFO - Version Jetty/5.1.x
20:29:40.324 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
20:29:40.326 INFO - Started HttpContext[/selenium-server,/selenium-server]
20:29:40.326 INFO - Started HttpContext[/,/]
20:29:40.376 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@1f8b81e3
20:29:40.377 INFO - Started HttpContext[/wd,/wd]
20:29:40.382 INFO - Started SocketListener on 0.0.0.0:4444
20:29:40.383 INFO - Started org.openqa.jetty.jetty.Server@4ee1d5ea
If the comment does not help, try changing start command to 如果注释没有帮助,请尝试将启动命令更改为
java -jar lib/selenium-server-standalone-2.25.0.jar -role hub
(It is command for starting Selenium Grid, so it might be wrong for you, but I dont know what are you trying to achieve) (这是启动Selenium Grid的命令,因此对您来说可能是错误的,但我不知道您要实现什么目标)
And as mentioned above, after the command is run 并且如上所述,在命令运行之后
http://127.0.0.1:4444/
http://127.0.0.1:4444/
You should see something like this: 您应该会看到以下内容:
You are using grid 2.25.0 Find help on the official selenium wiki : more help here 您正在使用grid 2.25.0在官方的硒Wiki上寻求帮助 : 更多帮助,请点击这里
default monitoring page : console 默认监视页面:控制台
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.