Take a look at SW Explorer Automation (http://home.comcast.net/~furmana/SWIEAutomation.htm)(SWEA). SWEA creates an object model (automation interface) for any Web application running in Internet Explorer. It supports all IE functionality:frames, java script, dialogs, downloads.
The runtime can also work under non-interactive user accounts (ASP.NET or service applications) on Window 2000/2003 server or Windows XP. -- http://mail.python.org/mailman/listinfo/python-list