Class Conditions

java.lang.Object
org.jenkinsci.test.acceptance.po.Conditions

public final class Conditions extends Object
Various ExpectedCondition that can be reused.
  • 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 WebElement that matched the selector that has for 2 consecutive calls not changed position or opacity.