|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgeb.content.TemplateDerivedPageContent
abstract class TemplateDerivedPageContent
| Method Summary | |
|---|---|
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()
|
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()
|
void
|
require()
|
String
|
toString()
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Method Detail |
|---|
boolean asBoolean()
Navigator click()
Browser getBrowser()
WebDriver getDriver()
int getHeight()
To get the height of all matched elements you can use the spread operator navigator*.height
Page getPage()
PageContentTemplateParams getTemplateParams()
int getWidth()
To get the width of all matched elements you can use the spread operator navigator*.width
int getX()
To get the x coordinate of all matched elements you can use the spread operator navigator*.x
int getY()
To get the y coordinate of all matched elements you can use the spread operator navigator*.y
void init(PageContentTemplate template, Navigator navigator, Object[] args)
boolean isPresent()
void require()
String toString()
Groovy API Documentation for Geb 0.9.0-RC-3 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org