Webbrowser and Mozilla control on linux

John J. Lee jjl at pobox.com
Sun Jan 18 07:11:08 EST 2004


Joe Francia <usenet at -OBFUSCATED-joefrancia.com> writes:

> Jay Davis wrote:
> > I can launch a browser on linux with the webbrowser module
> > and the .open() method.  However, I want to be able also to
> > control the browser, specifically, I'd like to be able to go to a
> > URL and invoke the automatic form filler and post
> > the form, all from within a python script.
[...]
> If all you're trying to do is automatically fill out web forms, you'll
> probably be better off using ClientForm (and possibly ClientCookie)
> from this page:
> http://wwwsearch.sourceforge.net/

...or if not, it's PyXPCOM that you want.  There are a couple of links
on the "General FAQ" page at the site above.  Unfortunately, PyXPCOM
doesn't have a maintainer with enough time to do it justice ATM, so
you might have trouble building it.  See this bug (which contains a
patch that should let you build it):

http://bugzilla.mozilla.org/show_bug.cgi?id=129216


John



More information about the Python-list mailing list