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