Enum Class Waiting.Condition

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

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

    • INVISIBILITY_OF_ELEMENT_LOCATED

      public static final Waiting.Condition INVISIBILITY_OF_ELEMENT_LOCATED
    • NOT_PRESENCE_OF_ELEMENT_LOCATED

      public static final Waiting.Condition NOT_PRESENCE_OF_ELEMENT_LOCATED
    • TEXT_TO_BE_PRESENT_IN_ELEMENT_LOCATED

      public static final Waiting.Condition TEXT_TO_BE_PRESENT_IN_ELEMENT_LOCATED
    • TEXT_TO_BE_PRESENT_IN_ELEMENT

      public static final Waiting.Condition TEXT_TO_BE_PRESENT_IN_ELEMENT
  • Method Details

    • values

      public static Waiting.Condition[] 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.Condition 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

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