Skip to content

Instantly share code, notes, and snippets.

@AlfredoCasado
Created November 21, 2010 01:18
Show Gist options
  • Save AlfredoCasado/708331 to your computer and use it in GitHub Desktop.
Save AlfredoCasado/708331 to your computer and use it in GitHub Desktop.
public class GoogleAplicationDriver extends TestWatchman {
private DefaultSelenium selenium;
@Override
public void starting(FrameworkMethod method) {
selenium = new DefaultSelenium("localhost", 4444, "firefox", "http://www.google.com");
selenium.start();
}
@Override
public void finished(FrameworkMethod method) {
selenium.stop();
}
public GoogleSearchPage goToSearchPage() {
return new GoogleSearchPage(selenium);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment