You can drive a real browser using Selenium (Test::WWW::Selenium) (which supports quite a few) or something like WWW::Mechanize::Firefox.  These require a bit more work than a simple mechanize script (for Selenium, you need a java-based driver running, and WWW::Mechanize::Firefox requires firefox with a specific plugin installed) but you still code in perl.  I've had great luck with older versions of Selenium (haven't tried anything recent) for testing Firefox and IE.<br>

<br><br><div class="gmail_quote">On Fri, Feb 24, 2012 at 12:06 PM, Yitzchak Scott-Thoennes <span dir="ltr"><<a href="mailto:sthoenna@gmail.com">sthoenna@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<a href="http://search.cpan.org/dist/WWW-Mechanize/lib/WWW/Mechanize/FAQ.pod#JavaScript" target="_blank">http://search.cpan.org/dist/WWW-Mechanize/lib/WWW/Mechanize/FAQ.pod#JavaScript</a><br>
<br>
In particular,<br>
<br>
<a href="http://search.cpan.org/dist/WWW-Mechanize/lib/WWW/Mechanize/FAQ.pod#Which_modules_work_like_Mechanize_and_have_JavaScript_support%3F" target="_blank">http://search.cpan.org/dist/WWW-Mechanize/lib/WWW/Mechanize/FAQ.pod#Which_modules_work_like_Mechanize_and_have_JavaScript_support%3F</a><br>


<div class="HOEnZb"><div class="h5">_____________________________________________________________<br>
Seattle Perl Users Group Mailing List<br>
     POST TO: <a href="mailto:spug-list@pm.org">spug-list@pm.org</a><br>
SUBSCRIPTION: <a href="http://mail.pm.org/mailman/listinfo/spug-list" target="_blank">http://mail.pm.org/mailman/listinfo/spug-list</a><br>
    MEETINGS: 3rd Tuesdays<br>
    WEB PAGE: <a href="http://seattleperl.org/" target="_blank">http://seattleperl.org/</a><br>
</div></div></blockquote></div><br>