views:

190

answers:

2

I have found these two modules that purport to be able to puppet string browsers, but I have no experience with them, but my current test suite uses WWW::Mechanize. Does anybody have any information about these modules, or other methods of testing pages from Perl that require JavaScript?

To clarify, I am running my tests under Linux (Ubuntu 7.10).

+11  A: 

Try WWW::Selenium, which uses your browser (through Perl) to handle JavaScript.

CoverosGene
Thanks, Selenium seems to be exactly the ticket.
Sean Hayden
+1  A: 

You might be able to make use of JavaScript::SpiderMonkey.

converter42