Methods
Type Params |
Return Type |
Name and description |
|
Navigator |
add(String selector)
|
|
Navigator |
add(By bySelector)
|
|
Navigator |
add(WebElement[] elements)
|
|
Navigator |
add(Collection<WebElement> elements)
|
|
Collection<WebElement> |
allElements()
|
|
boolean |
asBoolean()
|
|
String |
attr(String name)
|
|
Navigator |
children()
|
|
Navigator |
children(Map<String, Object> attributes)
|
|
Navigator |
children(Map<String, Object> predicates = [:], String selector)
|
|
List<String> |
classes()
|
|
Navigator |
click()
|
|
Navigator |
click(Class<? extends Page> pageClass, Wait wait = null)
|
|
Navigator |
click(Page pageInstance, Wait wait = null)
|
|
Navigator |
click(List potentialPages, Wait wait = null)
|
|
Navigator |
closest(Map<String, Object> attributes)
|
|
Navigator |
closest(Map<String, Object> predicates = [:], String selector)
|
|
protected Collection<WebElement> |
collectAncestors(Closure filter)
|
|
protected Collection<WebElement> |
collectChildren(Closure filter)
|
|
protected List<WebElement> |
collectElements(Closure closure)
|
|
protected Collection<WebElement> |
collectFollowingSiblings(Closure filter)
|
|
protected Collection<WebElement> |
collectParents(Closure filter)
|
|
protected Collection<WebElement> |
collectPreviousSiblings(Closure filter)
|
|
protected Collection<WebElement> |
collectRelativeElements(String xpath, Closure filter)
|
|
protected Collection<WebElement> |
collectSiblings(Closure filter)
|
|
protected Collection<WebElement> |
collectUntil(Collection<WebElement> elements, Closure matcher)
|
|
protected Collection<WebElement> |
collectUntil(Collection<WebElement> elements, Map<String, Object> attributes)
|
|
protected Collection<WebElement> |
collectUntil(Collection<WebElement> elements, Map<String, Object> attributes, String selector)
|
|
String |
css(String propertyName)
|
|
protected boolean |
dynamic(Map<String, Object> attributes)
|
|
protected List<String> |
elementClasses(WebElement element)
|
|
Iterator<WebElement> |
elementIterator()
|
|
protected WebElement |
ensureContainsAtMostSingleElement(String name, Class<?>... parameterTypes)
|
|
Navigator |
eq(int index)
|
|
boolean |
equals(Object obj)
|
|
Navigator |
filter(Map<String, Object> predicates, String selector)
|
|
Navigator |
filter(String selector)
|
|
Navigator |
filter(Map<String, Object> predicates)
|
|
Navigator |
findAll(Closure predicate)
|
|
Navigator |
first()
|
|
WebElement |
firstElement()
|
|
Navigator |
getAt(int index)
|
|
Navigator |
getAt(Range range)
|
|
Navigator |
getAt(Collection indexes)
|
|
String |
getAttribute(String name)
|
|
WebElement |
getElement(int index)
|
|
List<WebElement> |
getElements(Range range)
|
|
List<WebElement> |
getElements(Collection indexes)
|
|
int |
getHeight()
|
|
protected def |
getInputValue(WebElement input)
|
|
protected def |
getInputValues(Collection<WebElement> inputs)
|
|
JQueryAdapter |
getJquery()
|
|
String |
getStringRepresentation()
|
|
protected def |
getValue(WebElement input)
|
|
int |
getWidth()
|
|
int |
getX()
|
|
int |
getY()
|
|
Navigator |
has(String selector)
|
|
Navigator |
has(Map<String, Object> predicates)
|
|
Navigator |
has(Map<String, Object> predicates, String selector)
|
|
Navigator |
has(By bySelector)
|
|
Navigator |
has(Map<String, Object> predicates, By bySelector)
|
|
boolean |
hasClass(String valueToContain)
|
|
Navigator |
hasNot(String selector)
|
|
Navigator |
hasNot(Map<String, Object> predicates)
|
|
Navigator |
hasNot(Map<String, Object> predicates, String selector)
|
|
Navigator |
hasNot(By bySelector)
|
|
Navigator |
hasNot(Map<String, Object> predicates, By bySelector)
|
|
int |
hashCode()
|
|
Navigator |
head()
|
|
boolean |
is(String tag)
|
|
boolean |
isDisplayed()
|
|
boolean |
isEmpty()
|
|
boolean |
isFocused()
|
|
Iterator<Navigator> |
iterator()
|
|
protected String |
labelFor(WebElement input)
|
|
Navigator |
last()
|
|
WebElement |
lastElement()
|
|
Navigator |
leftShift(def value)
|
|
protected Closure<Boolean> |
matchingSelectorAndPredicates(String selector, Map<String, Object> predicates)
|
|
def |
methodMissing(String name, def arguments)
|
<T extends Module> |
T |
module(Class<T> moduleClass)
|
<T extends Module> |
T |
module(T module)
|
<T extends Module> |
List<T> |
moduleList(Class<T> moduleClass)
|
<T extends Module> |
List<T> |
moduleList(Closure<T> moduleFactory)
|
|
protected Navigator |
navigatorFor(Collection<WebElement> contextElements)
|
|
protected Navigator |
navigatorFor(boolean dynamic, Supplier<Collection<WebElement>> contextElementsSupplier)
|
|
protected Navigator |
navigatorForMatching(boolean dynamic, Closure<?> partialNavigatorPredicate)
|
|
Navigator |
next()
|
|
Navigator |
next(Map<String, Object> attributes)
|
|
Navigator |
next(Map<String, Object> predicates = [:], String selector)
|
|
Navigator |
nextAll()
|
|
Navigator |
nextAll(Map<String, Object> attributes)
|
|
Navigator |
nextAll(Map<String, Object> predicates = [:], String selector)
|
|
Navigator |
nextUntil(Map<String, Object> attributes)
|
|
Navigator |
nextUntil(Map<String, Object> attributes = [:], String selector)
|
|
Navigator |
not(String selector)
|
|
Navigator |
not(Map<String, Object> predicates, String selector)
|
|
Navigator |
not(Map<String, Object> predicates)
|
|
Navigator |
parent()
|
|
Navigator |
parent(Map<String, Object> attributes)
|
|
Navigator |
parent(Map<String, Object> predicates = [:], String selector)
|
|
Navigator |
parents()
|
|
Navigator |
parents(Map<String, Object> attributes)
|
|
Navigator |
parents(Map<String, Object> predicates = [:], String selector)
|
|
Navigator |
parentsUntil(Map<String, Object> attributes)
|
|
Navigator |
parentsUntil(Map<String, Object> attributes = [:], String selector)
|
|
Navigator |
plus(Navigator navigator)
|
|
Navigator |
prevAll()
|
|
Navigator |
prevAll(Map<String, Object> attributes)
|
|
Navigator |
prevAll(Map<String, Object> predicates = [:], String selector)
|
|
Navigator |
prevUntil(Map<String, Object> attributes)
|
|
Navigator |
prevUntil(Map<String, Object> attributes = [:], String selector)
|
|
Navigator |
previous()
|
|
Navigator |
previous(Map<String, Object> attributes)
|
|
Navigator |
previous(Map<String, Object> predicates = [:], String selector)
|
|
def |
propertyMissing(String name)
|
|
def |
propertyMissing(String name, def value)
|
|
Navigator |
remove(int index)
|
|
protected boolean |
select(WebElement input)
|
|
protected boolean |
setCheckboxValue(WebElement input, def value)
|
|
void |
setEventListener(NavigatorEventListener listener)
|
|
protected boolean |
setInputValue(WebElement input, String tagName, def value, boolean suppressStaleElementException)
|
|
protected void |
setInputValues(Iterable<WebElement> inputs, def value)
|
|
protected def |
setSelectValue(WebElement element, def value)
|
|
Navigator |
siblings()
|
|
Navigator |
siblings(Map<String, Object> attributes)
|
|
Navigator |
siblings(Map<String, Object> predicates = [:], String selector)
|
|
WebElement |
singleElement()
|
|
int |
size()
|
|
String |
tag()
|
|
Navigator |
tail()
|
|
String |
text()
|
|
protected Iterable<WebElement> |
toDynamicIterable(Supplier<Collection<WebElement>> contextElementsSupplier)
|
|
String |
toString()
|
|
Navigator |
unique()
|
|
protected boolean |
unselect(WebElement input)
|
|
def |
value()
|
|
Navigator |
value(def value)
|
|
Navigator |
verifyNotEmpty()
|