@Before public void setupTest() { driver = Driver.get(); basicAjaxPage = new BasicAjaxPageObject(driver); basicAjaxPage.get(); }
@Before public void setup() { driver = Driver.get("http://compendiumdev.co.uk/selenium/" + "basic_html_form.html"); }
@BeforeClass public static void createDriverAndVisitTestPage() { // driver = new FirefoxDriver(); driver = Driver.get("http://www.compendiumdev.co.uk" + "/selenium/find_by_playground.php"); }