Selenium 启动server失败,请高手指点
I:\selenium-rc-1.0.1\selenium-server-1.0.1>java -jar selenium-server.jar -interactive
17:37:34.296 INFO - Java: Sun Microsystems Inc. 14.3-b01
17:37:34.296 INFO - OS: Windows XP 5.1 x86
17:37:34.296 INFO - v1.0.1 , with Core v@VERSION@ [@REVISION@]
17:37:34.343 INFO - Version Jetty/5.1.x
17:37:34.343 INFO - Started HttpContext[/selenium-server/driver,/selenium-server
/driver]
17:37:34.343 INFO - Started HttpContext
17:37:34.343 INFO - Started HttpContext[/,/]
17:37:34.359 INFO - Started SocketListener on 0.0.0.0:4444
17:37:34.359 INFO - Started org.mortbay.jetty.Server@1bd747e
Entering interactive mode... type Selenium commands here (e.g: cmd=open&1=http:/
/www.yahoo.com)
cmd=getNewBrowserSession&1=*iexplore&2=http://www.baidu.com
17:38:03.968 INFO - ---> Requesting http://localhost:4444/selenium-server/driver
?cmd=getNewBrowserSession&1=*iexplore&2=http://www.baidu.com
17:38:04.031 INFO - Checking Resource aliases
17:38:04.031 INFO - Command request: getNewBrowserSession[*iexplore, http://www.
baidu.com] on session null
17:38:04.046 INFO - creating new remote session
17:38:04.125 INFO - Allocated session 6882a7d5089241a39011b26cd3e8ae87 for http:
//www.baidu.com, launching...
17:38:04.484 INFO - Launching Embedded Internet Explorer...
17:38:05.500 INFO - Launching Internet Explorer HTA... 不知道这文章是否对你有帮助.
我用你同样的命令是ok的 谢谢您的文章,我第一次使用是OK的,但是第二次第三次就报上面的错误,不知道您那边也是否是这样的。 从你贴出来的日志,我没有看到什么有错误。第二次第三次?这个是什么意思? 第一次启动是正常的,启动完毕后,关闭服务,再重新启动一次,就发生了上面的问题。 Command request: getNewBrowserSession[*iexplore, http://www.
baidu.com] on session null Session为空,在IE浏览器打开后报错 贴出来的log里一切正常啊,请把错误日志贴出来
页:
[1]