Constructor and description |
---|
AbstractNavigator
(Browser browser, BasicLocator basicLocator) |
Type Params | Return Type | Name and description |
---|---|---|
|
Navigator |
$(Map<String, Object> predicates) |
|
Navigator |
$(Map<String, Object> predicates, int index) |
|
Navigator |
$(Map<String, Object> predicates, Range<Integer> range) |
|
Navigator |
$(Map<String, Object> predicates, String selector) |
|
Navigator |
$(Map<String, Object> predicates, String selector, int index) |
|
Navigator |
$(Map<String, Object> predicates, String selector, Range<Integer> range) |
|
Navigator |
$(String selector) |
|
Navigator |
$(String selector, int index) |
|
Navigator |
$(String selector, Range<Integer> range) |
|
Navigator |
$(Map<String, Object> predicates, By bySelector) |
|
Navigator |
$(Map<String, Object> predicates, By bySelector, int index) |
|
Navigator |
$(Map<String, Object> predicates, By bySelector, Range<Integer> range) |
|
Navigator |
$(By bySelector) |
|
Navigator |
$(By bySelector, int index) |
|
Navigator |
$(By bySelector, Range<Integer> range) |
|
Navigator |
add(String selector) |
|
Navigator |
add(By bySelector) |
|
Navigator |
add(WebElement[] elements) |
|
Navigator |
add(Collection<WebElement> elements) |
|
boolean |
asBoolean() |
|
String |
attr(String name) |
|
String |
css(String propertyName) |
|
Navigator |
eq(int index) |
|
Navigator |
filter(Map<String, Object> predicates, String selector) |
|
Navigator |
find(Map<String, Object> predicates) |
|
Navigator |
find(Map<String, Object> predicates, int index) |
|
Navigator |
find(Map<String, Object> predicates, Range<Integer> range) |
|
Navigator |
find(Map<String, Object> predicates, String selector) |
|
Navigator |
find(Map<String, Object> predicates, String selector, int index) |
|
Navigator |
find(Map<String, Object> predicates, String selector, Range<Integer> range) |
|
Navigator |
find(String selector) |
|
Navigator |
find(String selector, int index) |
|
Navigator |
find(String selector, Range<Integer> range) |
|
Navigator |
find(Map<String, Object> predicates, By bySelector) |
|
Navigator |
find(Map<String, Object> predicates, By bySelector, int index) |
|
Navigator |
find(Map<String, Object> predicates, By bySelector, Range<Integer> range) |
|
Navigator |
find(By bySelector) |
|
Navigator |
find(By bySelector, int index) |
|
Navigator |
find(By bySelector, Range<Integer> range) |
|
Navigator |
findAll(Closure predicate) |
|
WebElement |
firstElement() |
|
protected WebElement |
getElement(int index) Gets the element at the given index. |
|
protected List<WebElement> |
getElements(Range range) Gets the elements in the given range. |
|
protected List<WebElement> |
getElements(Collection indexes) Gets the elements at the given indexes. |
|
int |
getHeight() |
|
JQueryAdapter |
getJquery() |
|
String |
getStringRepresentation() |
|
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) |
|
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) |
|
Iterator<Navigator> |
iterator() |
|
WebElement |
lastElement() |
<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) |
|
Navigator |
plus(Navigator navigator) |
|
WebElement |
singleElement() |
Gets the element at the given index.
index
- index of the element to retrieve - pass a negative value to start from the backGets the elements in the given range.
range
- range of the elements to retrieveGets the elements at the given indexes.
indexes
- indexes of the elements to retrieveGroovy API Documentation for Geb 2.2 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org