NAME

WWW::Mechanize::PhantomJS::Catalyst - mechanize javascript in your catalyst apps

DESCRIPTION

A mix of WWW::Mechanize::Catalyst and WWW::Mechanize::PhantomJS, exposes a WWW::Mechanize API for driving a catalyst server running in the background by PhantomJS/GhostDriver.

SYNOPSIS

use WWW::Mechanize::PhantomJS::Catalyst;
my $mech = WWW::Mechanize::PhantomJS::Catalyst->new(app => 'MyApp');
$mech->get("/hello.html");

PREREQUISITES

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)

AUTHOR

Dmitry Karasik <dmitry@karasik.eu.org>.

COPYRIGHT

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.