public class WebElementBasedTimedQuery<T> extends GenericWebDriverTimedQuery<T>
WebDriver based timed query that retrieves WebElement using provided
By and applies provided function from that element to the target value.
If given element is not found, the 'invalid value' semantics of the timed query are applied.
GenericWebDriverTimedQuery.InvalidValuevalueSupplierdefaultTimeout, intervalDEFAULT_INTERVAL| Constructor and Description |
|---|
WebElementBasedTimedQuery(org.openqa.selenium.SearchContext searchContext,
org.openqa.selenium.By by,
com.google.common.base.Function<org.openqa.selenium.WebElement,T> valueProvider,
long timeout,
long interval) |
WebElementBasedTimedQuery(org.openqa.selenium.SearchContext searchContext,
org.openqa.selenium.By by,
com.google.common.base.Function<org.openqa.selenium.WebElement,T> valueProvider,
long timeout,
long interval,
T invalidValue) |
WebElementBasedTimedQuery(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.By by,
com.google.common.base.Function<org.openqa.selenium.WebElement,T> valueProvider,
long timeout) |
WebElementBasedTimedQuery(WebElementBasedTimedQuery<T> origin,
long timeout) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
currentValue, shouldReturnby, by, byDefaultTimeout, clock, expirationHandler, now, resetLastRundefaultTimeout, intervalclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdefaultTimeout, intervalpublic WebElementBasedTimedQuery(org.openqa.selenium.WebDriver driver,
org.openqa.selenium.By by,
com.google.common.base.Function<org.openqa.selenium.WebElement,T> valueProvider,
long timeout)
public WebElementBasedTimedQuery(org.openqa.selenium.SearchContext searchContext,
org.openqa.selenium.By by,
com.google.common.base.Function<org.openqa.selenium.WebElement,T> valueProvider,
long timeout,
long interval)
public WebElementBasedTimedQuery(org.openqa.selenium.SearchContext searchContext,
org.openqa.selenium.By by,
com.google.common.base.Function<org.openqa.selenium.WebElement,T> valueProvider,
long timeout,
long interval,
T invalidValue)
public WebElementBasedTimedQuery(WebElementBasedTimedQuery<T> origin, long timeout)
public String toString()
toString in class AbstractTimedQuery<T>Copyright © 2015 Atlassian. All rights reserved.