Sean
Sean

Reputation: 854

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

Upvotes: 6

Views: 493

Answers (2)

converter42
converter42

Reputation: 7526

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

Upvotes: 1

OtherDevOpsGene
OtherDevOpsGene

Reputation: 7471

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

Upvotes: 11

Related Questions