Skip to content

Wait Explicit

This module contains step implementations for the Explicit Wait task.

Then wait explicit

Then wait for "{wait_time_expression}" seconds

[view_source]

Create an instace of the Explicit Wait task.

The scenario will wait the specified time (seconds) in additional to the wait time specified by Wait Between.

See Explicit Wait task documentation for more information about the task.

Example:

And ask for value of variable "wait_time"
And wait "1.5..2.5" seconds between tasks
...
Then wait for "1.5" seconds
...
Then wait for "{{ wait_time }}" seconds

Above combinations of steps will result in a wait time between 3 and 4 seconds for the first Tasks that is defined after the Then wait for...-step.

Arguments:

  • wait_time float - wait time in seconds