Watch.Sleep

Pauses the process for the specified number of milliseconds. This can be used while waiting for something else to happen when the delay is known.

Syntax

Watch.Sleep(milliseconds: integer)

Example

In the following example, Sleep() pauses the process for 1 second (1000 milliseconds)

JavaScript

Watch.Sleep(1000);

VBScript

Watch.Sleep 1000

Python

Watch.Sleep(1000)

Perl

$Watch->Sleep(1000);