org.jbehave.web.selenium
Class GroovyWebDriverPage

java.lang.Object
  extended by org.jbehave.web.selenium.WebDriverPage
      extended by org.jbehave.web.selenium.GroovyWebDriverPage
All Implemented Interfaces:
groovy.lang.GroovyObject, org.openqa.selenium.HasCapabilities, org.openqa.selenium.HasInputDevices, org.openqa.selenium.JavascriptExecutor, org.openqa.selenium.SearchContext, org.openqa.selenium.WebDriver

public class GroovyWebDriverPage
extends WebDriverPage
implements groovy.lang.GroovyObject


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openqa.selenium.WebDriver
org.openqa.selenium.WebDriver.ImeHandler, org.openqa.selenium.WebDriver.Navigation, org.openqa.selenium.WebDriver.Options, org.openqa.selenium.WebDriver.TargetLocator, org.openqa.selenium.WebDriver.Timeouts, org.openqa.selenium.WebDriver.Window
 
Constructor Summary
GroovyWebDriverPage(WebDriverProvider driverProvider)
           
 
Method Summary
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String property)
           
 Object invokeMethod(String method, Object arguments)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
 Object waitFor(int timeout, int retry, Class<? extends RuntimeException>[] ignoreThese, groovy.lang.Closure block)
           
 Object waitFor(int timeout, int retry, groovy.lang.Closure block)
           
 
Methods inherited from class org.jbehave.web.selenium.WebDriverPage
close, executeAsyncScript, executeScript, findElement, findElements, get, getCapabilities, getCurrentUrl, getDriverProvider, getKeyboard, getMouse, getPageSource, getTitle, getWindowHandle, getWindowHandles, manage, navigate, quit, switchTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyWebDriverPage

public GroovyWebDriverPage(WebDriverProvider driverProvider)
Method Detail

waitFor

public Object waitFor(int timeout,
                      int retry,
                      groovy.lang.Closure block)

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

waitFor

public Object waitFor(int timeout,
                      int retry,
                      Class<? extends RuntimeException>[] ignoreThese,
                      groovy.lang.Closure block)


Copyright © 2012. All Rights Reserved.