randomPause
void sutil.randomPause ( long min, long max ) (professional and enterprise editions only)
Description
Pauses for a random amount of time. This is also setup to stop immediately if the stop scrape button is clicked, and to allow breakpoints to be triggered while it is pausing.
Parameters
- min The minimum duration of the pause, in milliseconds
- max The maximum duration of the pause, in milliseconds
Return Value
Returns void.
Change Log
Version |
Description |
5.5.29a |
Available in professional and enterprise editions. |
Examples
Wait for between 2 and 4 seconds
sutil.randomPause(2000, 4000);