use WWW::Mechanize::PhantomJS::Catalyst; my $mech = WWW::Mechanize::PhantomJS::Catalyst->new(app => 'MyApp'); $mech->get("/hello.html");
You'll need PhantomJS v1.9+, and WWW::Mechanize::PhantomJS from here: https://github.com/dk/www-mechanize-phantomjs ( or v0.04 from the official distro when pull requests from github will be incorporated and published). The same is also for valid the latest Selenium::Remote::Driver (https://github.com/dk/Selenium-Remote-Driver or 0.2002 when out)
Dmitry Karasik <firstname.lastname@example.org>.
This program is distributed under the standard Perl licence.
Half of the code is borrowed from Stefan Seifert's Test::WWW::WebKit::Catalyst, reused under the same licence.