public interface WaitOperatorBuilder
| Modifier and Type | Method and Description |
|---|---|
WaitConditionTargetBuilder |
and() |
<T,R> WaitOperatorBuilder |
has(Function<T,R> function,
R expected) |
WaitOperatorBuilder |
is(Function<?,Boolean> function) |
WaitOperatorBuilder |
is(Predicate<?> predicate) |
WaitOperatorBuilder |
is(Supplier<Boolean> supplier) |
WaitOperatorBuilder |
not() |
WaitConditionTargetBuilder |
or() |
WaitOperatorBuilder |
spel(String condition)
evaluate expresssion defined by spring expression language
|
boolean |
until(long timeout,
long period)
this method executes the declared wait condition.
|
boolean |
until(long timeout,
long period,
org.openqa.selenium.WebDriver webDriver)
this method executes the declared wait condition on specified
webDriver. |
WaitOperatorBuilder is(Predicate<?> predicate)
WaitOperatorBuilder is(Supplier<Boolean> supplier)
WaitOperatorBuilder is(Function<?,Boolean> function)
<T,R> WaitOperatorBuilder has(Function<T,R> function, R expected)
WaitOperatorBuilder not()
WaitConditionTargetBuilder and()
WaitConditionTargetBuilder or()
boolean until(long timeout,
long period,
org.openqa.selenium.WebDriver webDriver)
webDriver.timeout - maximum time to wait (in millis)period - after that time the check will be executed (in millis)webDriver - boolean until(long timeout,
long period)
timeout - maximum time to wait (in millis)period - after that time the check will be executed (in millis)WaitOperatorBuilder spel(String condition)
condition - spel expressionCopyright © 2016. All rights reserved.