<br><br><div class="gmail_quote">On Mon, Jun 1, 2009 at 8:26 AM, P. Kaminski <span dir="ltr"><<a href="mailto:CGenie@gmail.com">CGenie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ech... The problem is that mechanize doesn't support JavaScript, and<br>
these web forms are full of various JS functions... Maybe someone<br>
knows a way out of this? Doesn't have to be Python...<br>
<div><div></div><div class="h5">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</div></div></blockquote></div><br>Selenium _might_ be able to help you out.<br><br>Otherwise, a method you can use (tedious at first, but can speed things up significantly) would be to either use firefox and grab the headers you're sending during a session (the site may use javascript really heavily, but in the end all that matters is that you're sending the same POST/GET requests), and then use mechanize, or read the javascript, and then use mechanize.<br>
<br>At my job, I've had to automate a few really javascript-heavy web applications. Firefox+FireBug+HTTPFox with python and mechanize can be a lifesaver here.<br>