Hi! If you are under Windows, you can drive IE, for indirect drive the web-pages. In this case, you can then interact with pages & the javascript's scripts included.
For more, see Pywin32, Pamie, Pxie, etc. @-salutations -- Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list