public enum ByFactories extends Enum<ByFactories> implements com.google.common.base.Function<String,org.openqa.selenium.By>
By
Enum Constant and Description |
---|
CLASS_NAME |
CSS |
ID |
ID_OR_NAME |
LINK_TEXT |
NAME |
PARTIAL_LINK_TEXT |
TAG_NAME |
XPATH |
Modifier and Type | Method and Description |
---|---|
static ByFactories |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByFactories[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
andThen, compose, identity
public static final ByFactories ID
public static final ByFactories NAME
public static final ByFactories ID_OR_NAME
public static final ByFactories CLASS_NAME
public static final ByFactories CSS
public static final ByFactories TAG_NAME
public static final ByFactories XPATH
public static final ByFactories LINK_TEXT
public static final ByFactories PARTIAL_LINK_TEXT
public static ByFactories[] values()
for (ByFactories c : ByFactories.values()) System.out.println(c);
public static ByFactories 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 © 2002-2022 Atlassian. All Rights Reserved.