Sometimes text or images do not appear immediatly after a page is loaded. Examples include ajaxy websites or intermediary pages that display some kind of "processing request" message. iMacros takes care of this automatically and waits up to !TIMEOUT_STEP seconds for the text or image to appear. You can also view it as "number of retries", as one test is made each second.
This parameter sets the timeout in seconds for commands like TAG, IMAGESEARCH and IMAGECLICK. If the corresponding HTML element or image is not found within that interval, the macro will exit with an error. Adjust the wait time if dealing with tricky AJAX pages, where elements can appear after a while without triggering a page reload.
Integer that gives the number of seconds a page may take to load completely.
Use !TIMEOUT_STEP 0 if you do not want iMacros to retry the command play.
[ ] Internal
- If a TAG command triggers a new page load, then TIMEOUT_PAGE applies to this timeout.
- The ONDOWNLOAD command also uses !TIMEOUT_STEP to determine how long to wait at the end of the macro for a download to start.
' exit with error if TAG is not found after 100 seconds SET !TIMEOUT_STEP 100 TAG POS=1 TYPE=* ATTR=TXT:Transaction<SP>processed