Jump to content
Sign in to follow this  
phoenix1030

Wait for firefox to load page

Recommended Posts

phoenix1030

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.

Share this post


Link to post
Share on other sites
xStylezx

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

Share this post


Link to post
Share on other sites
Golbez

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

Share this post


Link to post
Share on other sites
Gif

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

Share this post


Link to post
Share on other sites
herewasplato

...Firefox.. it most of the time says the name of the page you are on

...but the title is the first thing to change and will tell you little about when the page has finished loading.

[size="1"][font="Arial"].[u].[/u][/font][/size]

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  

×