public enum HowMappings extends Enum<HowMappings>
How
to get 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 HowMappings |
forHow(org.openqa.selenium.support.How how) |
String |
getAnnotationValue(Annotation findBy) |
org.openqa.selenium.By |
getBy(String locator) |
boolean |
hasAnnotationValue(Annotation findBy) |
org.openqa.selenium.support.How |
how() |
static HowMappings |
safeForHow(org.openqa.selenium.support.How how) |
static HowMappings |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HowMappings[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HowMappings ID
public static final HowMappings NAME
public static final HowMappings ID_OR_NAME
public static final HowMappings CLASS_NAME
public static final HowMappings CSS
public static final HowMappings TAG_NAME
public static final HowMappings XPATH
public static final HowMappings LINK_TEXT
public static final HowMappings PARTIAL_LINK_TEXT
public static HowMappings[] values()
for (HowMappings c : HowMappings.values()) System.out.println(c);
public static HowMappings 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 nullpublic static HowMappings forHow(org.openqa.selenium.support.How how)
public static HowMappings safeForHow(org.openqa.selenium.support.How how)
public org.openqa.selenium.support.How how()
public org.openqa.selenium.By getBy(String locator)
public String getAnnotationValue(Annotation findBy)
public boolean hasAnnotationValue(Annotation findBy)
Copyright © 2002-2016 Atlassian. All Rights Reserved.
View cookie preferences