scripting a web site w/Javascript

Neil Hodgson nhodgson at bigpond.net.au
Sat Sep 11 12:36:09 CEST 2004


Patrick Useldinger:

> I would like to script a specific website. I've had a start with
> httplib, but now I need to push a button (<input type=button>) that
> triggers a Javascript function and then directs to some URL. Obviously,
> I cannot just go to the URL because the function would not get executed.
>
> Can something like this be done via httplib? If not, is there a library
> available to do it?

http://wwwsearch.sourceforge.net/DOMForm/

   The JavaScript didn't work out for me a few months ago but the other
libraries available from this site helped write some tools for testing a web
site.

   Neil





More information about the Python-list mailing list