public interface GetBy
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS |
static java.lang.String |
CSS_SELECTOR |
static java.lang.String |
ID |
static java.lang.String |
NAME |
static java.lang.String |
TEXT |
static java.lang.String |
VALUE |
static java.lang.String |
XPATH |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.By |
getBy(java.lang.String selector,
boolean valueAlias,
java.lang.String value,
FeatureState featureState)
Map common selectors to Selenium selection objects
|
static final java.lang.String CSS_SELECTOR
static final java.lang.String ID
static final java.lang.String XPATH
static final java.lang.String NAME
static final java.lang.String VALUE
static final java.lang.String TEXT
static final java.lang.String CLASS
org.openqa.selenium.By getBy(java.lang.String selector, boolean valueAlias, java.lang.String value, FeatureState featureState)
selector
- The name of the selectorvalueAlias
- true if the value is an alias, false otherwosevalue
- The alias key or value to use with the selectorfeatureState
- The current thread's state object