コード例 #1
0
 protected void setUp() throws Exception {
   super.setUp();
   selenium =
       new DefaultSelenium(
           "localhost",
           SeleniumServer.DEFAULT_PORT,
           "*firefox",
           "http://localhost:" + SeleniumServer.DEFAULT_PORT);
   selenium.start();
 }
コード例 #2
0
 public void setUp() throws Exception {
   String url = "http://localhost:8080";
   selenium = new DefaultSelenium("localhost", 4444, "*firefox", url);
   selenium.start();
 }