waitUntil

fun waitUntil(function: () -> Boolean): WaitUntilCommand

Creates a WaitUntilCommand that waits until the given condition is true.

Return

A WaitUntilCommand that waits until the condition is true.

Parameters

function

The condition to evaluate.