Skip to main content
Pause the test for a fixed time, for example while an animation finishes:
To wait for an element to appear, don’t use wait(). Use find() with a timeout, which continues as soon as the element shows up:

Signature

Parameters

number
default:"3000"
How long to pause, in milliseconds.

Examples

Let a transition finish

Pause for the default time