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