Enum Class Waiting.Element

java.lang.Object
java.lang.Enum<Waiting.Element>
org.ndviet.library.Waiting.Element
All Implemented Interfaces:
Serializable, Comparable<Waiting.Element>, Constable
Enclosing class:
Waiting

protected static enum Waiting.Element extends Enum<Waiting.Element>
  • Enum Constant Details

    • PRESENCE_OF_ELEMENT_LOCATED

      public static final Waiting.Element PRESENCE_OF_ELEMENT_LOCATED
    • ELEMENT_TO_BE_CLICKABLE

      public static final Waiting.Element ELEMENT_TO_BE_CLICKABLE
    • VISIBILITY_OF

      public static final Waiting.Element VISIBILITY_OF
    • VISIBILITY_OF_ELEMENT_LOCATED

      public static final Waiting.Element VISIBILITY_OF_ELEMENT_LOCATED
  • Method Details

    • values

      public static Waiting.Element[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Waiting.Element valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • waitForElement

      org.openqa.selenium.WebElement waitForElement(org.openqa.selenium.WebDriver driver, Object object, boolean isWait, int timeOut)