@Internal public class WebDriverLocatableBasedTimedQuery<T> extends GenericWebDriverTimedQuery<T>
WebDriverLocatable based timed query that retrieves WebElement using provided
WebDriverLocatable 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 |
|---|
WebDriverLocatableBasedTimedQuery(WebDriverLocatableBasedTimedQuery<T> origin,
long timeout) |
WebDriverLocatableBasedTimedQuery(WebDriverLocatable locatable,
org.openqa.selenium.WebDriver driver,
com.google.common.base.Function<org.openqa.selenium.WebElement,T> valueProvider,
long timeout) |
WebDriverLocatableBasedTimedQuery(WebDriverLocatable locatable,
org.openqa.selenium.WebDriver driver,
com.google.common.base.Function<org.openqa.selenium.WebElement,T> valueProvider,
long timeout,
long interval) |
WebDriverLocatableBasedTimedQuery(WebDriverLocatable locatable,
org.openqa.selenium.WebDriver driver,
com.google.common.base.Function<org.openqa.selenium.WebElement,T> valueProvider,
long timeout,
long interval,
T invalidValue) |
| 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 WebDriverLocatableBasedTimedQuery(WebDriverLocatable locatable, org.openqa.selenium.WebDriver driver, com.google.common.base.Function<org.openqa.selenium.WebElement,T> valueProvider, long timeout)
public WebDriverLocatableBasedTimedQuery(WebDriverLocatable locatable, org.openqa.selenium.WebDriver driver, com.google.common.base.Function<org.openqa.selenium.WebElement,T> valueProvider, long timeout, long interval)
public WebDriverLocatableBasedTimedQuery(WebDriverLocatable locatable, org.openqa.selenium.WebDriver driver, com.google.common.base.Function<org.openqa.selenium.WebElement,T> valueProvider, long timeout, long interval, T invalidValue)
public WebDriverLocatableBasedTimedQuery(WebDriverLocatableBasedTimedQuery<T> origin, long timeout)
@Nonnull public String toString()
toString in class AbstractTimedQuery<T>Copyright © 2015 Atlassian. All rights reserved.