How periodically wait* functions will poll to check given predicate. Default value is
[[Driver.waitInterval]]
predicate
predicate:function | T
predicate a function that if return a truthy value will stop the polling
Optional rejectOnTimeout
rejectOnTimeout:boolean
By default waitUntil (and all wait* methods) will reject the promise on timeout. Set this to false so they
resolve the promise with false value instead
Optional timeout
timeout:number
For how long``wait*` function will wait until it return a rejected promise. Default value is
[[Driver.waitTimeout]]
How periodically
wait*
functions will poll to check given predicate. Default value is [[Driver.waitInterval]]