JohnOne Posted February 12, 2015 Share Posted February 12, 2015 Not sure what to search for after "dynamic html" turned up blank. I click a link by text, next thing, some more html appears with another link I'd wish to click by test. The html is not there when $oIE is created. My question is What do I search for here to get me started? Is there a way do load the current document again, with the new html in it, or something like that? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
jdelaney Posted February 12, 2015 Share Posted February 12, 2015 (edited) The dom will always 'refresh'. You just need to 'load wait', or if it's truly html created by javascript (which means the html is fully loaded, as far as the browser knows, but dom objects are still being created), or something, you need to loop for your dom object to be present. Note: my sig IEbyXPATH does a loop for the dom object you specify via xpath. This works for both the load wait, and the dynamic html scenario...make sure you have an error handler active, since the DOM is not always quereyable. Edited February 12, 2015 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
JohnOne Posted February 12, 2015 Author Share Posted February 12, 2015 Cheers bud, I've probably just been doing it wrong if the DOM refreshes. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
mesale0077 Posted February 12, 2015 Share Posted February 12, 2015 http://support.microsoft.com/kb/199243/en Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now