| Type Params | Return Type | Name and description |
|---|---|---|
<T> |
T |
waitFor(String waitPreset, Closure<T> block)Uses the wait preset from the configuration
with the given name to to wait for block to return a true value according to the Groovy Truth. |
<T> |
T |
waitFor(Map params, String waitPreset, Closure<T> block) |
<T> |
T |
waitFor(Closure<T> block)Uses the default wait from the configuration to
wait for block to return a true value according to the Groovy Truth. |
<T> |
T |
waitFor(Map params, Closure<T> block) |
<T> |
T |
waitFor(Number timeout, Closure<T> block)Invokes block every Configuration.getDefaultWaitRetryInterval seconds, until it returns
a true value according to the Groovy Truth, waiting at most timeout seconds. |
<T> |
T |
waitFor(Map params, Number timeout, Closure<T> block) |
<T> |
T |
waitFor(Number timeout, Number interval, Closure<T> block)Invokes block every interval seconds, until it returns
a true value according to the Groovy Truth, waiting at most timeout seconds. |
<T> |
T |
waitFor(Map params, Number timeout, Number interval, Closure<T> block) |
Uses the wait preset from the configuration
with the given name to to wait for block to return a true value according to the Groovy Truth.
waitPreset - the name of the wait preset in configuration to useblock - what is to be waited on to return a true-ish valueblock Uses the default wait from the configuration to
wait for block to return a true value according to the Groovy Truth.
block - what is to be waited on to return a true-ish valueblock Invokes block every Configuration.getDefaultWaitRetryInterval seconds, until it returns
a true value according to the Groovy Truth, waiting at most timeout seconds.
timeout - the number of seconds to wait for block to return (roughly)block - what is to be waited on to return a true-ish valueblock Invokes block every interval seconds, until it returns
a true value according to the Groovy Truth, waiting at most timeout seconds.
interval - the number of seconds to wait between invoking blocktimeout - the number of seconds to wait for block to return (roughly)block - what is to be waited on to return a true-ish valueblockGroovy API Documentation for Geb 3.0.1 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org