thefid Posted October 25, 2004 Report Share Posted October 25, 2004 I am trying to wait until a web page has loaded, but in one particular situation, it may return 2 different web pages... IE: a "page not found" or the desired page. Since the URL will be different on each possible page, the wait for web page script does not work. I am looking for a solution to this issue, any suggestions will be appreciated. Thanks, Jon F. Quote Link to comment Share on other sites More sharing options...
kevin Posted October 25, 2004 Report Share Posted October 25, 2004 Try a Wait for Web Page command with the url blank. This will cause the macro to wait until IE is no loner busy. Any page that comes up will allow the macro to continue. Quote Link to comment Share on other sites More sharing options...
jamesme Posted November 8, 2004 Report Share Posted November 8, 2004 use a repeat loop that polls for the window title (make your webpages have different titles) - something like: T1="exit" repeat until T1="exit" if window active "Web page title1" then // do something 1 T1="exit" end if if window active "Web page title2" then // do something 2 T1="exit" end if delay 1000 //poll every second end repeat Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.