コード例 #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());
 }