Package com.crowdar.core.pageObjects
Enum LocatorTypesEnum
- java.lang.Object
-
- java.lang.Enum<LocatorTypesEnum>
-
- com.crowdar.core.pageObjects.LocatorTypesEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LocatorTypesEnum>
public enum LocatorTypesEnum extends java.lang.Enum<LocatorTypesEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESSIBILITY_IDANDROID_UI_AUTOMATORCLASSCSSCUSTOMIDIMAGEIOS_NS_PREDICATENAMETAGXPATH
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static LocatorTypesEnumget(java.lang.String key)abstract org.openqa.selenium.BygetLocator(java.lang.String value)static LocatorTypesEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LocatorTypesEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CSS
public static final LocatorTypesEnum CSS
-
XPATH
public static final LocatorTypesEnum XPATH
-
ID
public static final LocatorTypesEnum ID
-
NAME
public static final LocatorTypesEnum NAME
-
CLASS
public static final LocatorTypesEnum CLASS
-
TAG
public static final LocatorTypesEnum TAG
-
ACCESSIBILITY_ID
public static final LocatorTypesEnum ACCESSIBILITY_ID
-
ANDROID_UI_AUTOMATOR
public static final LocatorTypesEnum ANDROID_UI_AUTOMATOR
-
IOS_NS_PREDICATE
public static final LocatorTypesEnum IOS_NS_PREDICATE
-
CUSTOM
public static final LocatorTypesEnum CUSTOM
-
IMAGE
public static final LocatorTypesEnum IMAGE
-
-
Method Detail
-
values
public static LocatorTypesEnum[] 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 (LocatorTypesEnum c : LocatorTypesEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocatorTypesEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getLocator
public abstract org.openqa.selenium.By getLocator(java.lang.String value)
-
get
public static LocatorTypesEnum get(java.lang.String key)
-
-