Package core.helpers
Enum Element.LocatorType
- java.lang.Object
-
- java.lang.Enum<Element.LocatorType>
-
- core.helpers.Element.LocatorType
-
- All Implemented Interfaces:
Serializable,Comparable<Element.LocatorType>
- Enclosing class:
- Element
public static enum Element.LocatorType extends Enum<Element.LocatorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description accessibiliyandroidDataMatcherandroidUIAutomatorclassTypecssgenericidiOSClassChainiOSNsPredicateStringlinkTextmobileClassnamepartialLinkTexttagNamexpath
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Element.LocatorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Element.LocatorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
css
public static final Element.LocatorType css
-
xpath
public static final Element.LocatorType xpath
-
id
public static final Element.LocatorType id
-
classType
public static final Element.LocatorType classType
-
accessibiliy
public static final Element.LocatorType accessibiliy
-
mobileClass
public static final Element.LocatorType mobileClass
-
name
public static final Element.LocatorType name
-
tagName
public static final Element.LocatorType tagName
-
linkText
public static final Element.LocatorType linkText
-
partialLinkText
public static final Element.LocatorType partialLinkText
-
iOSNsPredicateString
public static final Element.LocatorType iOSNsPredicateString
-
androidUIAutomator
public static final Element.LocatorType androidUIAutomator
-
iOSClassChain
public static final Element.LocatorType iOSClassChain
-
androidDataMatcher
public static final Element.LocatorType androidDataMatcher
-
generic
public static final Element.LocatorType generic
-
-
Method Detail
-
values
public static Element.LocatorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Element.LocatorType c : Element.LocatorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Element.LocatorType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-