Enum Class LocatorPolicy.Tier

java.lang.Object
java.lang.Enum<LocatorPolicy.Tier>
com.shaft.capture.generate.LocatorPolicy.Tier
All Implemented Interfaces:
Serializable, Comparable<LocatorPolicy.Tier>, Constable
Enclosing class:
LocatorPolicy

public static enum LocatorPolicy.Tier extends Enum<LocatorPolicy.Tier>
Emission tiers, most preferred first.
  • Enum Constant Details

    • UNIQUE_ID

      public static final LocatorPolicy.Tier UNIQUE_ID
      A unique, stable, human-authored id.
    • VERIFIED_ROLE

      public static final LocatorPolicy.Tier VERIFIED_ROLE
      A recorder-verified ARIA role that maps to a Role constant.
    • VERIFIED_XPATH

      public static final LocatorPolicy.Tier VERIFIED_XPATH
      A native, relative, self-verified XPath the recorder resolved against the live DOM.
  • Method Details

    • values

      public static LocatorPolicy.Tier[] 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 LocatorPolicy.Tier 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