public class BaseWaitConditions extends Object
| Constructor and Description |
|---|
BaseWaitConditions() |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.base.Function<String,String> |
messageCustomizer()
Build the final message from default message.
|
protected void |
until(FluentWait wait,
com.google.common.base.Predicate<FluentControl> present,
String message)
Perform the wait.
|
protected void |
until(FluentWait wait,
com.google.common.base.Predicate<FluentControl> present,
com.google.common.base.Supplier<String> messageSupplier)
Perform the wait.
|
protected <T extends Conditions<?>> |
until(FluentWait wait,
T condition,
T messageBuilder,
com.google.common.base.Function<T,Boolean> conditionFunction)
Perform the wait.
|
protected com.google.common.base.Function<String,String> messageCustomizer()
protected void until(FluentWait wait, com.google.common.base.Predicate<FluentControl> present, String message)
wait - fluent wait object.present - predicate to wait for.message - message to use.protected void until(FluentWait wait, com.google.common.base.Predicate<FluentControl> present, com.google.common.base.Supplier<String> messageSupplier)
wait - fluent wait object.present - predicate to wait for.messageSupplier - default message to use.protected <T extends Conditions<?>> void until(FluentWait wait, T condition, T messageBuilder, com.google.common.base.Function<T,Boolean> conditionFunction)
T - type of the condition.wait - fluent wait objectcondition - condition object to wait formessageBuilder - message builder matching the condition objectconditionFunction - condition fonctionCopyright © 2016 FluentLenium. All Rights Reserved.