Created
November 21, 2010 01:18
-
-
Save AlfredoCasado/708331 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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