How can I dispatch Firefox or Google Chrome with Python?

Posted by Shady on Stack Overflow See other posts from Stack Overflow or by Shady
Published on 2010-05-09T23:14:01Z Indexed on 2010/05/09 23:28 UTC
Read the original article Hit count: 362

Filed under:
|
|

How can I do this with Firefox or Google Chrome?

ie = win32com.client.Dispatch('InternetExplorer.Application')
ie.visible = 1
ie.navigate('http://google.com')

Is there a way to do it?

ps: I need to use the ReadyState with it... for example while (ie.ReadyState != 4):, or in other words, I need some command that wait until the page loads completely until do the next command, that's why I need the dispatch, that currently work very good with IE

© Stack Overflow or respective owner

Related posts about python

Related posts about firefox