Page 1 of 1

Workaround: iMacros not recognizing page being fully loaded

Posted: Wed Aug 20, 2008 9:21 am
by Hannes, Tech Support
On some pages where certain content is added "on the fly" (e.g. depending on some selection), iMacros might not be able to detect the site being fully loaded, which results in timeout errors on replaying a macro.

Here's how to work around a TAG that leads to such a page (and thus times out on replay).

Code: Select all

' make the macro wait no longer that a few seconds (instead of the default value of 60s)
SET !TIMEOUT 5
' make the macro ignore the timeout that occurs after the !TIMEOUT interval is completed
SET !ERRORIGNORE YES
' now run the "problematic" TAG
TAG POS=... TYPE=... ATTR=...
' reset default settings
SET !TIMEOUT 60
SET !ERRORIGNORE NO