예제 #1
0
 public boolean getPageTitle() {
   WebDriverWait wait = new WebDriverWait(BrowserPage.driver(), 30);
   return wait.until(ExpectedConditions.titleContains("Buxfer: Easy online money management"));
 }
예제 #2
0
 public SummaryItemPage login(String login, String password) {
   usernameField.sendKeys(login);
   passwordField.sendKeys(password);
   loginButton.click();
   return new SummaryItemPage(BrowserPage.driver());
 }