
public interface WebDriverWait<FLUENT> extends FluentWait<org.openqa.selenium.WebDriver,FLUENT>
| Modifier and Type | Method and Description |
|---|---|
<ACTION> FLUENT |
commit(ACTION action)
Closes the fluent definition and indicates that it can be applied.
|
<K extends Throwable> |
ignoreAll(Collection<Class<? extends K>> types)
Configures this instance to ignore specific types of exceptions while
waiting for a condition.
|
<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)
Sets how often the condition should be evaluated.
|
FluentBuilder<FLUENT> |
until()
Returns the fluent condition builder.
|
<T> T |
until(Function<? super org.openqa.selenium.WebDriver,T> isTrue) |
FluentBuilder<FLUENT> |
until(String failMessage)
Returns the fluent condition builder.
|
FluentWait<org.openqa.selenium.WebDriver,FLUENT> |
withMessage(String message)
Sets the message to be displayed when time expires.
|
FluentWait<org.openqa.selenium.WebDriver,FLUENT> |
withTimeout(long duration,
TimeUnit unit)
Sets how long to wait for the evaluated condition to be true.
|
FluentWait<org.openqa.selenium.WebDriver,FLUENT> withMessage(String message)
FluentWaitwithMessage in interface FluentWait<org.openqa.selenium.WebDriver,FLUENT>message - to be appended to default.FluentWait<org.openqa.selenium.WebDriver,FLUENT> withTimeout(long duration, TimeUnit unit)
FluentWaitwithTimeout in interface FluentWait<org.openqa.selenium.WebDriver,FLUENT>duration - The timeout duration.unit - The unit of time.FluentWait<org.openqa.selenium.WebDriver,FLUENT> pollingEvery(long duration, TimeUnit unit)
FluentWaitIn reality, the interval may be greater as the cost of actually evaluating a condition function is not factored in. The default polling interval is 500ms.
pollingEvery in interface FluentWait<org.openqa.selenium.WebDriver,FLUENT>duration - The timeout duration.unit - The unit of time.<K extends Throwable> FluentWait<org.openqa.selenium.WebDriver,FLUENT> ignoreAll(Collection<Class<? extends K>> types)
FluentWaitignoreAll in interface FluentWait<org.openqa.selenium.WebDriver,FLUENT>types - The types of exceptions to ignore.<K extends Throwable> FluentWait<org.openqa.selenium.WebDriver,FLUENT> ignoring(Class<? extends Throwable> exceptionType)
ignoring in interface FluentWait<org.openqa.selenium.WebDriver,FLUENT>FluentWait.ignoreAll(Collection)<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>FluentWait.ignoreAll(Collection)FluentBuilder<FLUENT> until()
FluentWaitFluentBase.commit(java.lang.Object)
which calls #until(com.google.common.base.Predicate) .until in interface FluentWait<org.openqa.selenium.WebDriver,FLUENT>FluentBuilder<FLUENT> until(String failMessage)
FluentWaitFluentBase.commit(java.lang.Object)
which calls #until(com.google.common.base.Predicate) .until in interface FluentWait<org.openqa.selenium.WebDriver,FLUENT>failMessage - message used when the waiting fails<T> T until(Function<? super org.openqa.selenium.WebDriver,T> isTrue)
until in interface org.openqa.selenium.support.ui.Wait<org.openqa.selenium.WebDriver><ACTION> FLUENT commit(ACTION action)
FluentBasecommit in interface FluentBase<FLUENT>Copyright © 2021 JBoss by Red Hat. All rights reserved.