Package | Description |
---|---|
org.openqa.selenium.support.ui |
Modifier and Type | Class and Description |
---|---|
class |
WebDriverWait
A specialization of
FluentWait that uses WebDriver instances. |
Modifier and Type | Method and Description |
---|---|
<K extends Throwable> |
FluentWait.ignoreAll(Collection<Class<? extends K>> types)
Configures this instance to ignore specific types of exceptions while waiting for a condition.
|
FluentWait<T> |
FluentWait.ignoring(Class<? extends Throwable> exceptionType) |
FluentWait<T> |
FluentWait.ignoring(Class<? extends Throwable> firstType,
Class<? extends Throwable> secondType) |
FluentWait<T> |
FluentWait.pollingEvery(long duration,
TimeUnit unit)
Sets how often the condition should be evaluated.
|
FluentWait<T> |
FluentWait.withMessage(String message)
Sets the message to be displayed when time expires.
|
FluentWait<T> |
FluentWait.withMessage(com.google.common.base.Supplier<String> messageSupplier)
Sets the message to be evaluated and displayed when time expires.
|
FluentWait<T> |
FluentWait.withTimeout(long duration,
TimeUnit unit)
Sets how long to wait for the evaluated condition to be true.
|
Copyright © 2016. All rights reserved.