Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
ManageLanguagePage wait for ajax table loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Huang committed Jun 22, 2012
1 parent 7506b8b commit 815ba6a
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -62,12 +62,12 @@ public ManageLanguageTeamMemberPage manageTeamMembersFor(final String localeId)
public WebElement apply(WebDriver driver)
{
WebElement table = driver.findElement(By.xpath("//table"));
if (table.isDisplayed())
if (WebElementUtil.getTableRows(table).isEmpty())
{
return table;
log.debug("assuming table still loading...");
return null;
}
log.debug("table still loading...");
return null;
return table;
}
});

Expand Down

0 comments on commit 815ba6a

Please sign in to comment.