@SuppressWarnings("FieldName") abstract class TemplateDerivedPageContent extends Object
| Modifiers | Name | Description |
|---|---|---|
protected Navigator |
_navigator |
| 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) |
boolean |
asBoolean() |
Navigator |
click() |
Browser |
getBrowser() |
WebDriver |
getDriver() |
int |
getHeight()Returns the height of the first element the navigator matches or 0 if it matches nothing. |
Page |
getPage()The page that this content is part of |
PageContentTemplateParams |
getTemplateParams() |
int |
getWidth()Returns the width of the first element the navigator matches or 0 if it matches nothing. |
int |
getX()Returns the x coordinate (from the top left corner) of the first element the navigator matches or 0 if it matches nothing. |
int |
getY()Returns the y coordinate (from the top left corner) of the first element the navigator matches or 0 if it matches nothing. |
void |
init(PageContentTemplate template, Navigator navigator, Object[] args)Called by the template when created (i.e. is not public). |
boolean |
isPresent() |
def |
methodMissing(String name, def args) |
T |
module(Class<T> moduleClass) |
T |
module(T module) |
def |
propertyMissing(String name) |
def |
propertyMissing(String name, def val) |
void |
require() |
String |
toString() |
Returns the height of the first element the navigator matches or 0 if it matches nothing.
To get the height of all matched elements you can use the spread operator navigator*.height
The page that this content is part of
Returns the width of the first element the navigator matches or 0 if it matches nothing.
To get the width of all matched elements you can use the spread operator navigator*.width
Returns the x coordinate (from the top left corner) of the first element the navigator matches or 0 if it matches nothing.
To get the x coordinate of all matched elements you can use the spread operator navigator*.x
Returns the y coordinate (from the top left corner) of the first element the navigator matches or 0 if it matches nothing.
To get the y coordinate of all matched elements you can use the spread operator navigator*.y
Called by the template when created (i.e. is not public). We don't use a constructor to prevent users from having to implement them.
Groovy API Documentation for Geb 0.11.0 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org