The renewal maintenance has officially ended for Progress iMacros effective November 30, 2023.
This Wiki site will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely, The Progress Team
WAIT
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).
Syntax
WAIT SECONDS=(n|#DOWNLOADCOMPLETE#)
Note: The #DOWNLOADCOMPLETE# parameter is not supported (and not required) in iMacros 7 (see !WAITPAGECOMPLETE for an alternative), Firefox and Chrome.
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.