Jump to content

Wait for firefox to load page


Recommended Posts

I can't seem to figure out how to make Auto It wait until firefox finishes loading the web page. I've tried just a general sleep for a predefined amount of time, but this does not always work because sometimes it can take longer to load the web page then the time specified or there are times when the page is loaded and the script continues to wait until the time is up and I want the script to continue immediately after the page is loaded.

Link to comment
Share on other sites

I can't seem to figure out how to make Auto It wait until firefox finishes loading the web page. I've tried just a general sleep for a predefined amount of time, but this does not always work because sometimes it can take longer to load the web page then the time specified or there are times when the page is loaded and the script continues to wait until the time is up and I want the script to continue immediately after the page is loaded.

Im new to autoit but couldnt you read the statusbar text "Done" and do it like that?I thought a noticed a function that would do that,but i could be wrong??

Just checked and possibly StatusbarGetText would work?I havent tried myself on firefox yet,maybe someone else can confirm or provide another method

Edited by xStylezx
Link to comment
Share on other sites

or you could just winwait the title cause firefox doesnt just call its self Mozilla Firefox.. it most of the time says the name of the page you are on

right or just go _IE....

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...