public class ElementLocationStrategy extends AbstractLocationStrategy
| Modifier and Type | Field and Description |
|---|---|
static ElementLocationStrategy |
CSS
Strategy for locating by CSS selectors.
|
static ElementLocationStrategy |
DOM
Strategy for locating by given JavaScript expression.
|
static ElementLocationStrategy |
ID
Strategy for locating elements by given id attribute.
|
static ElementLocationStrategy |
IDENTIFIER
Strategy for locating elements by given id or by name as a fallback
|
static ElementLocationStrategy |
JQUERY
Strategy for locating elements using JQuery Selector syntax.
|
static ElementLocationStrategy |
LINK
Strategy for locating elements by text of the link (anchor)
|
static ElementLocationStrategy |
NAME
Strategy for locating elements by given name attribute.
|
static ElementLocationStrategy |
XPATH
Strategy for locating elements by given xpath xpression.
|
| Constructor and Description |
|---|
ElementLocationStrategy(String strategyName)
Constructs new named element location strategy
|
public static final ElementLocationStrategy CSS
public static final ElementLocationStrategy DOM
public static final ElementLocationStrategy IDENTIFIER
public static final ElementLocationStrategy ID
public static final ElementLocationStrategy JQUERY
public static final ElementLocationStrategy LINK
public static final ElementLocationStrategy NAME
public static final ElementLocationStrategy XPATH
public ElementLocationStrategy(String strategyName)
strategyName - the name of strategyCopyright © 2013 JBoss by Red Hat. All Rights Reserved.