in reply to Re^4: IE Automation with Update Panel
in thread IE Automation with Update Panel

For your example, you are right, the content of interest does not appear in the HTML source of the page. This is because the webpage is being updated with AJAX using this library (I think).

Here is my (simplified) view of the browser:

Code From -> (Java)Script -> Internal -> Renderer Internet Engine Document

What you are seeing with the view-source is the code from the internet. But what you need to be looking at is the internal document output by the script engine.

I know you can get this using the JavaScript plugin for WWW::Mechanize. I am not familiar with Win32::IEAutomation, but it would seem to me that the Content() method should return the internal document.

Replies are listed 'Best First'.
Re^6: IE Automation with Update Panel
by taj (Novice) on Jan 07, 2008 at 02:47 UTC
    You got it.I will look into that script engine as well the javascript plug-in. Thanks a lot.