Sign in to follow this  
Followers 0
sarjtastic

wait for page to load?

4 posts in this topic

I have just been making it sleep for a few seconds when I want to wait for a page to load... but sometimes it loads faster, sometimes slower

I use firefox.

How can I make it sleep until the page loads?

Share this post


Link to post
Share on other sites



I have just been making it sleep for a few seconds when I want to wait for a page to load... but sometimes it loads faster, sometimes slower

I use firefox.

How can I make it sleep until the page loads?

Rather i would suggest using IE.au3 and the function IELoadWait() should do it.

Share this post


Link to post
Share on other sites

I have just been making it sleep for a few seconds when I want to wait for a page to load... but sometimes it loads faster, sometimes slower

I use firefox.

How can I make it sleep until the page loads?

IE.au3 works very well for this. But if you prefer to use Firefox, you can combine the free iMacros Firefox Add-On with AutoIt. I prefer this over IE.au3 whenever I have to automate very complex websites (like automatic flight reconfirming, reserving me the seats in the best row automatically :) ), because I can visually record the form filling/clicking with iMacros. Then I use AutoIt to start Firefox and run the imacro, as described here: http://forum.iopus.com/viewtopic.php?t=3355

Share this post


Link to post
Share on other sites

I have just been making it sleep for a few seconds when I want to wait for a page to load... but sometimes it loads faster, sometimes slower

I use firefox.

How can I make it sleep until the page loads?

If you insist using FireFox you can do this

get the check sum of the top right corner where is the animation when it is loading and then load page and sleep until newchecksum is equal the old one. Is that clear? Just sleep while the animation is moving


I ran. I ran until my muscles burned and my veins pumped battery acid. Then I ran some more.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0