WAIT
(Copy URL in PhpBB Forum Format - Info)From iMacros
Waits for a specific time before continuing replay with the next command (timed delay).
Sometimes iMacros continues with a TAG command inside a frame before the web site in that frame has been completely loaded. This can be avoided by adding a WAIT SECONDS=#DOWNLOADCOMPLETE# command before the TAG command (see Examples).
Contents |
Syntax

WAIT SECONDS=(n|#DOWNLOADCOMPLETE#)
Note: The #DOWNLOADCOMPLETE# parameter is not supported (and not required) in Firefox.
Parameters
- SECONDS
- Specifies the number of seconds to wait. If a download was started use #DOWNLOADCOMPLETE# to wait until the download has finished.
Examples
Follow a link on a framed site:
FRAME F=6 TAG POS=1 TYPE=SPAN ATTR=TXT:Select<SP>path
This could generate an error if the content inside the frame is not loaded in time. To avoid this error use
FRAME F=6 WAIT SECONDS=#DOWNLOADCOMPLETE# TAG POS=1 TYPE=SPAN ATTR=TXT:Select<SP>path
instead.
