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

Commit

Permalink
Page defocus waits for page silence before proceeding.
Browse files Browse the repository at this point in the history
  • Loading branch information
djansen-redhat committed Apr 30, 2015
1 parent 8bcefbc commit a78d48a
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -203,6 +203,7 @@ public void defocus(By elementBy) {
log.info("Force unfocus");
WebElement element = getDriver().findElement(elementBy);
((JavascriptExecutor) getDriver()).executeScript("arguments[0].blur()", element);
waitForPageSilence();
}

/* The system sometimes moves too fast for the Ajax pages, so provide a
Expand Down

0 comments on commit a78d48a

Please sign in to comment.