A command to let macro wait until page loading complete ?

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
User avatar
cybmatrix
Posts: 38
Joined: Tue Dec 08, 2009 8:33 pm

A command to let macro wait until page loading complete ?

Post by cybmatrix » Fri Dec 11, 2009 1:57 pm

Hi there !
Do you have a solution ?


Thanks.
Windows 7 PRO (64 bit)
Waterfox 51.0.1 (64 bit)
iMacros for FF 8.9.7
Hannes, Tech Support

Re: A command to let macro wait until page loading complete ?

Post by Hannes, Tech Support » Mon Dec 14, 2009 3:17 pm

iMacros should do that by default. Can you point us to a site where iMacros fails to wait long enough?
User avatar
cybmatrix
Posts: 38
Joined: Tue Dec 08, 2009 8:33 pm

Re: A command to let macro wait until page loading complete ?

Post by cybmatrix » Mon Dec 14, 2009 8:33 pm

Here you can see a page where Imacro fails with a timeout.
The page simulates a continuous loading and in this way the macro goes in timeout after the upload of a photo:

Image

How can I solve this ?
Thanks
Windows 7 PRO (64 bit)
Waterfox 51.0.1 (64 bit)
iMacros for FF 8.9.7
Hannes, Tech Support

Re: A command to let macro wait until page loading complete ?

Post by Hannes, Tech Support » Tue Dec 15, 2009 8:55 am

Initially I though that the macro continues before the site was loaded, but now it looks like the opposite is the problem: the macro times out even though the site is already loaded.

Here, the typical workaround is as follows:
1) Set !TIMEOUT to a low value
2) Set !ERRORIGNORE to ignore the timeout
3) Call the problematic command
4) reset !TIMEOUT and !ERRORIGNORE
User avatar
cybmatrix
Posts: 38
Joined: Tue Dec 08, 2009 8:33 pm

Re: A command to let macro wait until page loading complete ?

Post by cybmatrix » Tue Dec 15, 2009 11:34 am

Thanks, will try and let you know.
Windows 7 PRO (64 bit)
Waterfox 51.0.1 (64 bit)
iMacros for FF 8.9.7
Post Reply