public SpeakeasyUserPage restoreEnabledPlugins() { driver.findElement(By.id("restore-enabled")).click(); driver.waitUntilElementIsLocated(By.className("success")); return pageBinder.navigateToAndBind(SpeakeasyUserPage.class); }
public SpeakeasyUserPage unsubscribeFromAllPlugins() { driver.findElement(By.id("unsubscribe-all")).click(); driver.waitUntilElementIsLocated(By.className("success")); return pageBinder.navigateToAndBind(SpeakeasyUserPage.class); }
public <T extends Page> T submit(final Class<T> nextPage, String... arguments) { submit.click(); return binder.navigateToAndBind(nextPage, arguments); }
public BrowseVersionSummaryPage getBrowseVersionSummaryPage() { return pageBinder.navigateToAndBind(BrowseVersionSummaryPage.class, this); }
public <T extends Page> T confirm(String password, Class<T> targetPage) { passwordTextbox.sendKeys(password); confirmButton.click(); return pageBinder.navigateToAndBind(targetPage); }