public enum LocatorType extends Enum<LocatorType>
| Enum Constant and Description |
|---|
ClassName |
CssSelector |
Id |
LinkText |
Name |
PartialLinkText |
TagName |
XPath |
| Modifier and Type | Method and Description |
|---|---|
static LocatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocatorType XPath
public static final LocatorType CssSelector
public static final LocatorType ClassName
public static final LocatorType TagName
public static final LocatorType Name
public static final LocatorType PartialLinkText
public static final LocatorType LinkText
public static final LocatorType Id
public static LocatorType[] values()
for (LocatorType c : LocatorType.values()) System.out.println(c);
public static LocatorType 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 © 2022. All rights reserved.