Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I do webtesting in Perl for pages that require JavaScript?

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).

  • Mozilla::Mechanize
  • GTK2::WebKit::Mechanize
like image 825
Sean Hayden Avatar asked Apr 29 '09 18:04

Sean Hayden


1 Answers

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

like image 169
Gene Gotimer Avatar answered Sep 28 '22 07:09

Gene Gotimer