Package org.jenkinsci.test.acceptance.po
Class Conditions
java.lang.Object
org.jenkinsci.test.acceptance.po.Conditions
Various
ExpectedCondition that can be reused.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.support.ui.ExpectedCondition<org.openqa.selenium.WebElement> waitForElementAnimationToFinish(org.openqa.selenium.By by) ExpectedCondition that waits for any animation (size or opacity) of a matched element to finish.
-
Constructor Details
-
Conditions
public Conditions()
-
-
Method Details
-
waitForElementAnimationToFinish
public static org.openqa.selenium.support.ui.ExpectedCondition<org.openqa.selenium.WebElement> waitForElementAnimationToFinish(org.openqa.selenium.By by) ExpectedCondition that waits for any animation (size or opacity) of a matched element to finish.- Parameters:
by- Selector to locate the element- Returns:
- the
WebElementthat matched the selector that has for 2 consecutive calls not changed position or opacity.
-