Package net.thucydides.core.webdriver
Class AbstractObjectInitialiser<T>
- java.lang.Object
-
- net.thucydides.core.webdriver.AbstractObjectInitialiser<T>
-
- All Implemented Interfaces:
com.google.common.base.Predicate<T>
,Predicate<T>
- Direct Known Subclasses:
DefaultPageObjectInitialiser
,DefaultWidgetObjectInitialiser
public abstract class AbstractObjectInitialiser<T> extends Object implements com.google.common.base.Predicate<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected Duration
ajaxTimeout
protected org.openqa.selenium.WebDriver
driver
-
Constructor Summary
Constructors Constructor Description AbstractObjectInitialiser(org.openqa.selenium.WebDriver driver, long ajaxTimeoutInMilliseconds)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected int
ajaxTimeoutInSecondsWithAtLeast1Second()
abstract boolean
apply(T input)
boolean
test(T input)
-
-
-
Field Detail
-
driver
protected final org.openqa.selenium.WebDriver driver
-
ajaxTimeout
protected final Duration ajaxTimeout
-
-