[Ilugc] submit a form that shows javascript confirm box using python

  • From: deppfx@xxxxxxxxx (N Deepak P)
  • Date: Tue, 5 Jun 2012 22:47:58 +0530

Take a look at this & this

http://stackoverflow.com/questions/2263662/how-can-i-download-a-file-using-wwwmechanize-or-any-perl-module


http://stackoverflow.com/questions/10291772/to-submit-request-in-python-mechanize-for-javascript


On Tue, Jun 5, 2012 at 7:19 PM, Shrinivasan T <tshrinivasan at gmail.com>wrote:

I use python mechanize to submit a form.

Using this page as a tutorial.
http://stockrt.github.com/p/emulating-a-browser-in-python-with-mechanize/

The form I uses shows a javascript confirmation box before submitting
in browser.

How to capture the javascript confirmation box in python using mechanize?

Or is there any other alternate?

Thanks.




--
Regards,
T.Shrinivasan


My Life with GNU/Linux : http://goinggnu.wordpress.com
Free/Open Source Jobs : http://fossjobs.in

Get CollabNet Subversion Edge :     http://www.collab.net/svnedge
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Other related posts: