Webbrowser and Mozilla control on linux

Joe Francia usenet at -OBFUSCATED-joefrancia.com
Sun Jan 18 02:04:40 CET 2004

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.
> I have google'd around and I see hints that there are remote
> controller objects for some browsers, but so far I haven't
> found any examples of code that controls the browser; most
> examples just open the browser, which I could just as well
> do from os.system(). 
> If anyone can share some samples, or point me to a good
> reference with browser control details, I'd much appreciate
> it.  Thanks!

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:

More information about the Python-list mailing list