During your run you can wait for a period of time or for something to happen.
Function | What it does |
---|---|
wait.for() | Waits for a specific period of time, e.g. 1 day. |
wait.until() | Waits until the provided Date . |
wait.forRequest() | Waits until a matching HTTP request is received, and gives you the data to continue with. |
waitForEvent() | Waits for a matching event, like in the example above. |