wait Until
Waits until the specified condition is true, or times out after around 10 seconds
Return
true if the condition was true, false if the timeout was reached
Parameters
condition
the condition
Waits until the specified condition is true, or the timeout limit is reached
Return
true if the condition was true, false if the timeout was reached
Parameters
timeout
the timeout in milliseconds
condition
the condition to check
static boolean waitUntil(int timeout, int step, BooleanSupplier condition)
Content copied to clipboard
Waits until the specified condition is true, or the timeout limit is reached
Return
true if the condition was true, false if the timeout was reached
Parameters
timeout
the timeout in milliseconds
step
the amount of time inbetween each condition check
condition
the condition to check