public interface IConditionalWait
| Modifier and Type | Method and Description |
|---|---|
default boolean |
waitFor(BooleanSupplier condition)
Wait for some condition within timeout.
|
default boolean |
waitFor(BooleanSupplier condition,
Collection<Class<? extends Throwable>> exceptionsToIgnore)
Wait for some condition within timeout.
|
default boolean |
waitFor(BooleanSupplier condition,
Duration timeout)
Wait for some condition within timeout.
|
default boolean |
waitFor(BooleanSupplier condition,
Duration timeout,
Duration pollingInterval)
Wait for some condition within timeout.
|
default boolean |
waitFor(BooleanSupplier condition,
Duration timeout,
Duration pollingInterval,
Collection<Class<? extends Throwable>> exceptionsToIgnore)
Wait for some condition within timeout.
|
default boolean |
waitFor(BooleanSupplier condition,
Duration timeout,
Duration pollingInterval,
String message)
Wait for some condition within timeout.
|
boolean |
waitFor(BooleanSupplier condition,
Duration timeout,
Duration pollingInterval,
String message,
Collection<Class<? extends Throwable>> exceptionsToIgnore)
Wait for some condition within timeout.
|
default boolean |
waitFor(BooleanSupplier condition,
String message)
Wait for some condition within timeout.
|
default boolean |
waitFor(BooleanSupplier condition,
String message,
Collection<Class<? extends Throwable>> exceptionsToIgnore)
Wait for some condition within timeout.
|
default <T> T |
waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition)
Waits for function will be true or return some except false.
|
default <T> T |
waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
Collection<Class<? extends Throwable>> exceptionsToIgnore)
Waits for function will be true or return some except false.
|
default <T> T |
waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
Duration timeout)
Waits for function will be true or return some except false.
|
default <T> T |
waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
Duration timeout,
Duration pollingInterval)
Waits for function will be true or return some except false.
|
default <T> T |
waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
Duration timeout,
Duration pollingInterval,
Collection<Class<? extends Throwable>> exceptionsToIgnore)
Waits for function will be true or return some except false.
|
default <T> T |
waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
Duration timeout,
Duration pollingInterval,
String message)
Waits for function will be true or return some except false.
|
<T> T |
waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
Duration timeout,
Duration pollingInterval,
String message,
Collection<Class<? extends Throwable>> exceptionsToIgnore)
Waits for function will be true or return some except false.
|
default <T> T |
waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
String message)
Waits for function will be true or return some except false.
|
default <T> T |
waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
String message,
Collection<Class<? extends Throwable>> exceptionsToIgnore)
Waits for function will be true or return some except false.
|
default void |
waitForTrue(BooleanSupplier condition)
Wait for some condition within timeout.
|
default void |
waitForTrue(BooleanSupplier condition,
Collection<Class<? extends Throwable>> exceptionsToIgnore)
Wait for some condition within timeout.
|
default void |
waitForTrue(BooleanSupplier condition,
Duration timeout)
Wait for some condition within timeout.
|
default void |
waitForTrue(BooleanSupplier condition,
Duration timeout,
Duration pollingInterval)
Wait for some condition within timeout.
|
default void |
waitForTrue(BooleanSupplier condition,
Duration timeout,
Duration pollingInterval,
Collection<Class<? extends Throwable>> exceptionsToIgnore)
Wait for some condition within timeout.
|
default void |
waitForTrue(BooleanSupplier condition,
Duration timeout,
Duration pollingInterval,
String message)
Wait for some condition within timeout.
|
void |
waitForTrue(BooleanSupplier condition,
Duration timeout,
Duration pollingInterval,
String message,
Collection<Class<? extends Throwable>> exceptionsToIgnore)
Wait for some condition within timeout.
|
default void |
waitForTrue(BooleanSupplier condition,
String message)
Wait for some condition within timeout.
|
default void |
waitForTrue(BooleanSupplier condition,
String message,
Collection<Class<? extends Throwable>> exceptionsToIgnore)
Wait for some condition within timeout.
|
default boolean waitFor(BooleanSupplier condition)
condition - Condition with boolean result (predicate)default boolean waitFor(BooleanSupplier condition, String message)
condition - Condition with boolean result (predicate)message - Part of error message in case of Timeout exceptiondefault boolean waitFor(BooleanSupplier condition, Collection<Class<? extends Throwable>> exceptionsToIgnore)
condition - Condition with boolean result (predicate)exceptionsToIgnore - Exceptions to ignoredefault boolean waitFor(BooleanSupplier condition, String message, Collection<Class<? extends Throwable>> exceptionsToIgnore)
condition - Condition with boolean result (predicate)message - Part of error message in case of Timeout exceptionexceptionsToIgnore - Exceptions to ignoredefault boolean waitFor(BooleanSupplier condition, Duration timeout, Duration pollingInterval)
condition - Condition with boolean result (predicate)timeout - Condition timeoutpollingInterval - Condition check intervaldefault boolean waitFor(BooleanSupplier condition, Duration timeout)
condition - Condition with boolean result (predicate)timeout - Condition timeoutdefault boolean waitFor(BooleanSupplier condition, Duration timeout, Duration pollingInterval, String message)
condition - Condition with boolean result (predicate)timeout - Condition timeoutpollingInterval - Condition check intervalmessage - Part of error message in case of Timeout exceptiondefault boolean waitFor(BooleanSupplier condition, Duration timeout, Duration pollingInterval, Collection<Class<? extends Throwable>> exceptionsToIgnore)
condition - Condition with boolean result (predicate)timeout - Condition timeoutpollingInterval - Condition check intervalexceptionsToIgnore - Exceptions to ignoreboolean waitFor(BooleanSupplier condition, Duration timeout, Duration pollingInterval, String message, Collection<Class<? extends Throwable>> exceptionsToIgnore)
condition - Condition with boolean result (predicate)timeout - Condition timeoutpollingInterval - Condition check intervalmessage - Part of error message in case of Timeout exceptionexceptionsToIgnore - Exceptions to ignoredefault void waitForTrue(BooleanSupplier condition) throws TimeoutException
condition - Condition with boolean result (predicate)TimeoutException - will be thrown in case if timeout is over but condition was not metdefault void waitForTrue(BooleanSupplier condition, String message) throws TimeoutException
condition - Condition with boolean result (predicate)message - Part of error message in case of Timeout exceptionTimeoutException - will be thrown in case if timeout is over but condition was not metdefault void waitForTrue(BooleanSupplier condition, Collection<Class<? extends Throwable>> exceptionsToIgnore) throws TimeoutException
condition - Condition with boolean result (predicate)exceptionsToIgnore - Exceptions to ignoreTimeoutException - will be thrown in case if timeout is over but condition was not metdefault void waitForTrue(BooleanSupplier condition, String message, Collection<Class<? extends Throwable>> exceptionsToIgnore) throws TimeoutException
condition - Condition with boolean result (predicate)message - Part of error message in case of Timeout exceptionexceptionsToIgnore - Exceptions to ignoreTimeoutException - will be thrown in case if timeout is over but condition was not metdefault void waitForTrue(BooleanSupplier condition, Duration timeout, Duration pollingInterval) throws TimeoutException
condition - Condition with boolean result (predicate)timeout - Condition timeoutpollingInterval - Condition check intervalTimeoutException - will be thrown in case if timeout is over but condition was not metdefault void waitForTrue(BooleanSupplier condition, Duration timeout) throws TimeoutException
condition - Condition with boolean result (predicate)timeout - Condition timeoutTimeoutException - will be thrown in case if timeout is over but condition was not metdefault void waitForTrue(BooleanSupplier condition, Duration timeout, Duration pollingInterval, String message) throws TimeoutException
condition - Condition with boolean result (predicate)timeout - Condition timeoutpollingInterval - Condition check intervalmessage - Part of error message in case of Timeout exceptionTimeoutException - will be thrown in case if timeout is over but condition was not metdefault void waitForTrue(BooleanSupplier condition, Duration timeout, Duration pollingInterval, Collection<Class<? extends Throwable>> exceptionsToIgnore) throws TimeoutException
condition - Condition with boolean result (predicate)timeout - Condition timeoutpollingInterval - Condition check intervalexceptionsToIgnore - Exceptions to ignoreTimeoutException - will be thrown in case if timeout is over but condition was not metvoid waitForTrue(BooleanSupplier condition, Duration timeout, Duration pollingInterval, String message, Collection<Class<? extends Throwable>> exceptionsToIgnore) throws TimeoutException
condition - Condition with boolean result (predicate)timeout - Condition timeoutpollingInterval - Condition check intervalmessage - Part of error message in case of Timeout exceptionexceptionsToIgnore - Exceptions to ignoreTimeoutException - will be thrown in case if timeout is over but condition was not metdefault <T> T waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition)
T - Type of object which is waitingcondition - Function for waiting Functiondefault <T> T waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
String message)
T - Type of object which is waitingcondition - Function for waiting Functionmessage - the message that will be added to an error in case if the condition is not matched during the timeoutdefault <T> T waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
Collection<Class<? extends Throwable>> exceptionsToIgnore)
T - Type of object which is waitingcondition - Function for waiting FunctionexceptionsToIgnore - list of exceptions that should be ignored during waitingdefault <T> T waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
String message,
Collection<Class<? extends Throwable>> exceptionsToIgnore)
T - Type of object which is waitingcondition - Function for waiting Functionmessage - the message that will be added to an error in case if the condition is not matched during the timeoutexceptionsToIgnore - list of exceptions that should be ignored during waitingdefault <T> T waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
Duration timeout,
Duration pollingInterval)
T - Type of object which is waitingcondition - Function for waiting Functiontimeout - Duration before the time-outpollingInterval - interval between checks whether condition matchdefault <T> T waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
Duration timeout)
T - Type of object which is waitingcondition - Function for waiting Functiontimeout - Duration before the time-outdefault <T> T waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
Duration timeout,
Duration pollingInterval,
String message)
T - Type of object which is waitingcondition - Function for waiting Functiontimeout - Duration before the time-outpollingInterval - interval between checks whether condition matchmessage - the message that will be added to an error in case if the condition is not matched during the timeoutdefault <T> T waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
Duration timeout,
Duration pollingInterval,
Collection<Class<? extends Throwable>> exceptionsToIgnore)
T - Type of object which is waitingcondition - Function for waiting Functiontimeout - Duration before the time-outpollingInterval - interval between checks whether condition matchexceptionsToIgnore - list of exceptions that should be ignored during waiting<T> T waitFor(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
Duration timeout,
Duration pollingInterval,
String message,
Collection<Class<? extends Throwable>> exceptionsToIgnore)
T - Type of object which is waitingcondition - Function for waiting Functiontimeout - Duration before the time-outpollingInterval - interval between checks whether condition matchmessage - the message that will be added to an error in case if the condition is not matched during the timeoutexceptionsToIgnore - list of exceptions that should be ignored during waitingCopyright © 2020. All rights reserved.