public class WebDriverWaitImpl<FLUENT> extends Object implements WebDriverWait<FLUENT>
Modifier | Constructor and Description |
---|---|
|
WebDriverWaitImpl(FLUENT fluent,
org.openqa.selenium.WebDriver driver,
long timeOutInSeconds) |
protected |
WebDriverWaitImpl(org.openqa.selenium.support.ui.WebDriverWait wait,
FLUENT fluent) |
Modifier and Type | Method and Description |
---|---|
<ACTION> FLUENT |
commit(ACTION action) |
<K extends Throwable> |
ignoreAll(Collection<Class<? extends K>> types) |
<K extends Throwable> |
ignoring(Class<? extends Throwable> exceptionType) |
<K extends Throwable> |
ignoring(Class<? extends Throwable> firstType,
Class<? extends Throwable> secondType) |
FluentWait<org.openqa.selenium.WebDriver,FLUENT> |
pollingEvery(long duration,
TimeUnit unit) |
FluentBuilder<FLUENT> |
until() |
<T> T |
until(com.google.common.base.Function<? super org.openqa.selenium.WebDriver,T> isTrue) |
void |
until(com.google.common.base.Predicate<org.openqa.selenium.WebDriver> isTrue) |
FluentBuilder<FLUENT> |
until(String failMessage) |
FluentWait<org.openqa.selenium.WebDriver,FLUENT> |
withMessage(String message) |
FluentWait<org.openqa.selenium.WebDriver,FLUENT> |
withTimeout(long duration,
TimeUnit unit) |
protected WebDriverWaitImpl(org.openqa.selenium.support.ui.WebDriverWait wait, FLUENT fluent)
public WebDriverWaitImpl(FLUENT fluent, org.openqa.selenium.WebDriver driver, long timeOutInSeconds)
public FluentWait<org.openqa.selenium.WebDriver,FLUENT> withMessage(String message)
withMessage
in interface FluentWait<org.openqa.selenium.WebDriver,FLUENT>
withMessage
in interface WebDriverWait<FLUENT>
public FluentWait<org.openqa.selenium.WebDriver,FLUENT> withTimeout(long duration, TimeUnit unit)
withTimeout
in interface FluentWait<org.openqa.selenium.WebDriver,FLUENT>
withTimeout
in interface WebDriverWait<FLUENT>
public FluentWait<org.openqa.selenium.WebDriver,FLUENT> pollingEvery(long duration, TimeUnit unit)
pollingEvery
in interface FluentWait<org.openqa.selenium.WebDriver,FLUENT>
pollingEvery
in interface WebDriverWait<FLUENT>
public <K extends Throwable> FluentWait<org.openqa.selenium.WebDriver,FLUENT> ignoreAll(Collection<Class<? extends K>> types)
ignoreAll
in interface FluentWait<org.openqa.selenium.WebDriver,FLUENT>
ignoreAll
in interface WebDriverWait<FLUENT>
public <K extends Throwable> FluentWait<org.openqa.selenium.WebDriver,FLUENT> ignoring(Class<? extends Throwable> exceptionType)
ignoring
in interface FluentWait<org.openqa.selenium.WebDriver,FLUENT>
ignoring
in interface WebDriverWait<FLUENT>
public <K extends Throwable> FluentWait<org.openqa.selenium.WebDriver,FLUENT> ignoring(Class<? extends Throwable> firstType, Class<? extends Throwable> secondType)
ignoring
in interface FluentWait<org.openqa.selenium.WebDriver,FLUENT>
ignoring
in interface WebDriverWait<FLUENT>
public void until(com.google.common.base.Predicate<org.openqa.selenium.WebDriver> isTrue)
until
in interface FluentWait<org.openqa.selenium.WebDriver,FLUENT>
until
in interface WebDriverWait<FLUENT>
public FluentBuilder<FLUENT> until()
until
in interface FluentWait<org.openqa.selenium.WebDriver,FLUENT>
until
in interface WebDriverWait<FLUENT>
public FluentBuilder<FLUENT> until(String failMessage)
until
in interface FluentWait<org.openqa.selenium.WebDriver,FLUENT>
until
in interface WebDriverWait<FLUENT>
public <T> T until(com.google.common.base.Function<? super org.openqa.selenium.WebDriver,T> isTrue)
until
in interface WebDriverWait<FLUENT>
until
in interface org.openqa.selenium.support.ui.Wait<org.openqa.selenium.WebDriver>
public <ACTION> FLUENT commit(ACTION action)
commit
in interface FluentBase<FLUENT>
commit
in interface WebDriverWait<FLUENT>
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.