public enum Locator extends Enum<Locator>
Enum Constant and Description |
---|
CLASSNAME |
CSS |
ID |
LINKTEXT |
NAME |
PARTIALLINKTEXT |
TAGNAME |
XPATH |
Modifier and Type | Method and Description |
---|---|
static Locator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Locator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Locator XPATH
public static final Locator ID
public static final Locator NAME
public static final Locator CLASSNAME
public static final Locator CSS
public static final Locator PARTIALLINKTEXT
public static final Locator LINKTEXT
public static final Locator TAGNAME
public static Locator[] values()
for (Locator c : Locator.values()) System.out.println(c);
public static Locator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All rights reserved.