Enum Constant and Description |
---|
CLASS_NAME |
CSS |
ID |
ID_OR_NAME |
LINK_TEXT |
NAME |
PARTIAL_LINK_TEXT |
TAG_NAME |
UNSET |
XPATH |
Modifier and Type | Method and Description |
---|---|
abstract org.openqa.selenium.By |
buildBy(java.lang.String value) |
static How |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static How[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final How CLASS_NAME
public static final How CSS
public static final How ID
public static final How ID_OR_NAME
public static final How LINK_TEXT
public static final How NAME
public static final How PARTIAL_LINK_TEXT
public static final How TAG_NAME
public static final How XPATH
public static final How UNSET
public static How[] values()
for (How c : How.values()) System.out.println(c);
public static How 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 abstract org.openqa.selenium.By buildBy(java.lang.String value)