Jump to content

wait for page to load?


Recommended Posts

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.
Link to comment
Share on other sites

  • 2 weeks later...

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
Link to comment
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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...