Hillel has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, I want to create a perl script to test a web app. I need to be able to fill a couple of form fields, *Press a button* (that runs some javascript), and submit the form. Is there a way to simulate this process using perl modules?

Replies are listed 'Best First'.
Re: Pressing buttons in html pages
by marto (Cardinal) on Dec 25, 2005 at 13:47 UTC
      Thanks, this seems to be what I was looking for.
Re: Pressing buttons in html pages
by sh1tn (Priest) on Dec 25, 2005 at 14:54 UTC
    In addition - WWW::Mechanize and especially form methods section may help you.


Re: Pressing buttons in html pages
by planetscape (Chancellor) on Dec 26, 2005 at 04:30 UTC