Share this post

Link to post

Share on other sites

JohnOne 1,541

_IELoadWait() can return before all values of elements on a page are loaded into browser.

If it;s the case that you need values loaded outside of normal html (I don't know jquery, ajax, flash etc...) you might want to test for the existence of a particular object on the page, which you consider to be present when "finish loading".

Share this post

Link to post

Share on other sites

DaleHohm 58

Presumably something visual on the page alerts you that the load is finished. What would that be? Figure out how to identify that element in the document source and look for it using some of the methods above. The webpage source that you posted makes mention of Ajax, which is an asynchronous document update framework (and the update can happen after the page has technically finished loading, which is why _IELoadWait is doing what is supposed to do, just not what you want it to do).

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=YDoesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post

Link to post

Share on other sites

jdelaney 223

As long as you loop for whatever object you are attempting to interact with, and not just try to grab it once, and assume you have it, I don't see what the issue is...do this kind of loop with ALL your object grabbing (of course, this is just a sample...add whatever _IE function you need, obviously)