Selenium2 server (1)启动

首先,必须到Selenium的官网下载Selenium2 的server压缩包

附下载地址http://selenium.googlecode.com/files/selenium-server-standalone-2.24.1.jar

 

解压后使用控制台进入解压目录,使用命令java -jar selenium-server-standalone-2.24.1.jar

控制台输出如下

G:\selenium\selenium-2.24.1>java -jar selenium-server-standalone-2.24.1.jar
Jul 17, 2012 11:21:06 AM org.openqa.grid.selenium.GridLauncher main
INFO: Launching a standalone server
11:21:06.508 INFO - Java: Sun Microsystems Inc. 20.6-b01
11:21:06.510 INFO - OS: Windows 7 6.1 x86
11:21:06.553 INFO - v2.24.1, with Core v2.24.1. Built from revision 17205
11:21:07.110 INFO - RemoteWebDriver instances should connect to: http://127.0.0.
1:4444/wd/hub
11:21:07.111 INFO - Version Jetty/5.1.x
11:21:07.113 INFO - Started HttpContext[/selenium-server/driver,/selenium-server
/driver]
11:21:07.114 INFO - Started HttpContext[/selenium-server,/selenium-server]
11:21:07.114 INFO - Started HttpContext[/,/]
11:21:07.192 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@276af2

11:21:07.193 INFO - Started HttpContext[/wd,/wd]
11:21:07.235 INFO - Started SocketListener on 0.0.0.0:4444
11:21:07.236 INFO - Started org.openqa.jetty.jetty.Server@c1b531
--------------------------------------------------------------

ok 启动成功

你可能感兴趣的:(selenium)