public enum GetElementWay extends java.lang.Enum<GetElementWay>
Enum Constant and Description |
---|
CLASS_NAME |
CSS |
ID |
LINK_TEXT |
NAME |
PARTIAL_LINK_TEXT |
TAG_NAME |
XPATH |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getUsing() |
static GetElementWay |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GetElementWay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GetElementWay ID
public static final GetElementWay CSS
public static final GetElementWay NAME
public static final GetElementWay XPATH
public static final GetElementWay CLASS_NAME
public static final GetElementWay LINK_TEXT
public static final GetElementWay PARTIAL_LINK_TEXT
public static final GetElementWay TAG_NAME
public static GetElementWay[] values()
for (GetElementWay c : GetElementWay.values()) System.out.println(c);
public static GetElementWay valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getUsing()