Package io.fluentlenium.core.wait
Interface FluentWaitFunctional<F>
- Type Parameters:
F
- the argument to pass to function called
- All Superinterfaces:
org.openqa.selenium.support.ui.Wait<F>
- All Known Implementing Classes:
FluentWait
,FluentWaitElement
,FluentWaitElementList
public interface FluentWaitFunctional<F>
extends org.openqa.selenium.support.ui.Wait<F>
Functional API of fluent wait.
- See Also:
-
Method Summary
Modifier and TypeMethodDescription<T> T
Wait until the function returns a non-null and non-false object.void
Wait until the supplier returns true.void
untilPredicate
(Predicate<FluentControl> predicate) Wait until the predicate returns true.
-
Method Details
-
untilPredicate
Wait until the predicate returns true.- Parameters:
predicate
- predicate condition to wait for
-
until
Wait until the supplier returns true.- Parameters:
booleanSupplier
- supplier condition to wait for.
-
until
Wait until the function returns a non-null and non-false object.- Specified by:
until
in interfaceorg.openqa.selenium.support.ui.Wait<F>
- Type Parameters:
T
- type of returned object- Parameters:
function
- function returning a non-null and non-false object when condition is verified.- Returns:
- object returned by function
-