关于启动 SeleniumServer的问题 谢谢~~!
启动SeleniumServer报提示
15:13:16.410 INFO - Java: Sun Microsystems Inc. 16.3-b01
15:13:16.412 INFO - OS: Windows 7 6.1 x86
15:13:16.419 INFO - v2.0 , with Core v2.0
15:13:16.537 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
15:13:16.539 INFO - Version Jetty/5.1.x
15:13:16.540 INFO - Started HttpContext
15:13:16.542 INFO - Started HttpContext
15:13:16.542 INFO - Started HttpContext[/,/]
15:13:16.587 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@1ea2dfe
15:13:16.587 INFO - Started HttpContext
15:13:16.591 WARN - Failed to start: SocketListener0@0.0.0.0:4444
Exception in thread "main" org.openqa.jetty.util.MultiException
at org.openqa.jetty.http.HttpServer.doStart(HttpServer.java:686)
at org.openqa.jetty.util.Container.start(Container.java:72)
at org.openqa.selenium.server.SeleniumServer.start(SeleniumServer.java:396)
at org.openqa.selenium.server.SeleniumServer.boot(SeleniumServer.java:234)
at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:198)
java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.openqa.jetty.util.ThreadedServer.newServerSocket(ThreadedServer.java:391)
at org.openqa.jetty.util.ThreadedServer.open(ThreadedServer.java:477)
at org.openqa.jetty.util.ThreadedServer.start(ThreadedServer.java:503)
at org.openqa.jetty.http.SocketListener.start(SocketListener.java:204)
at org.openqa.jetty.http.HttpServer.doStart(HttpServer.java:716)
at org.openqa.jetty.util.Container.start(Container.java:72)
at org.openqa.selenium.server.SeleniumServer.start(SeleniumServer.java:396)
at org.openqa.selenium.server.SeleniumServer.boot(SeleniumServer.java:234)
at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:198)
不成功,刚接触Selenium,请帮忙 非常感谢!! 学习下 输入的什么命令?什么版本? 打开多个窗口了,要么就是4444被占用了
页:
[1]