net.thucydides.core.webdriver
Class DefaultPageObjectInitialiser

Package class diagram package DefaultPageObjectInitialiser
java.lang.Object
  extended by net.thucydides.core.webdriver.DefaultPageObjectInitialiser
All Implemented Interfaces:
com.google.common.base.Predicate<PageObject>

public class DefaultPageObjectInitialiser
extends Object
implements com.google.common.base.Predicate<PageObject>

Initializes WebElement and WebElementFacade fields in a page object.


Constructor Summary
DefaultPageObjectInitialiser(org.openqa.selenium.WebDriver driver, int ajaxTimeoutInMilliseconds)
           
 
Method Summary
protected  int ajaxTimeoutInSecondsWithAtLeast1Second()
           
 boolean apply(PageObject page)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Predicate
equals
 

Constructor Detail

DefaultPageObjectInitialiser

public DefaultPageObjectInitialiser(org.openqa.selenium.WebDriver driver,
                                    int ajaxTimeoutInMilliseconds)
Method Detail

ajaxTimeoutInSecondsWithAtLeast1Second

protected int ajaxTimeoutInSecondsWithAtLeast1Second()

apply

public boolean apply(PageObject page)
Specified by:
apply in interface com.google.common.base.Predicate<PageObject>


Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.