COM (DispatchEx) problem

Leszek domcio_ at poczta.onet.pl
Mon Aug 16 10:16:20 CEST 2004


Hi everybody !

I'm starting my script with:

ie = win32com.client.DispatchEx("InternetExplorer.Application")
ie.Visible = 1
ie.Navigate("http://www.chip.pl")

while ie.Busy == True:
    win32api.Sleep(1000)

doc = ie.document

then I make "submit" and new page opens.
but

print doc.body.innerHtml

gives the same Html code than before "submit". What is going on ? How to see
new document ?

Thanks for any help.

Leszek





More information about the Python-list mailing list