com.atlassian.pageobjects.elements.query.webdriver
Class WebElementBasedTimedQuery<T>
java.lang.Object
com.atlassian.pageobjects.elements.query.AbstractPollingQuery
com.atlassian.pageobjects.elements.query.AbstractTimedQuery<T>
com.atlassian.pageobjects.elements.query.webdriver.GenericWebDriverTimedQuery<T>
com.atlassian.pageobjects.elements.query.webdriver.WebElementBasedTimedQuery<T>
- All Implemented Interfaces:
- PollingQuery, TimedQuery<T>, ClockAware
- Direct Known Subclasses:
- WebElementBasedTimedCondition
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.
|
Constructor Summary |
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)
|
WebElementBasedTimedQuery
public 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
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)
WebElementBasedTimedQuery
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)
WebElementBasedTimedQuery
public WebElementBasedTimedQuery(WebElementBasedTimedQuery<T> origin,
long timeout)
toString
public String toString()
- Overrides:
toString in class AbstractTimedQuery<T>
Copyright © 2014 Atlassian. All rights reserved.