static SeleniumServer server;
public void testStartSeleniumServer() throws InterruptedException
{
//Start the server
try {
server = new SeleniumServer();
server.start();
} catch (Exception e) {
// TODO Auto-generated catch block
System.out.println("Failed to start the server");
e.printStackTrace();
}
//Stop the server
server.stop();
}
}
No comments:
Post a Comment