Esempio n. 1
0
 private void retryLoad() {
   conditions.verify(
       new ExpectedCondition<Object>() {
         @Nullable
         @Override
         public Object apply(WebDriver driver) {
           driver.navigate().refresh();
           return isLoadedCondition();
         }
       },
       Timeouts.MEDIUM);
 }
Esempio n. 2
0
 private boolean isLoadedCondition() {
   return conditions.isConditionMet(ignored -> childPageWindow.isLoaded());
 }