Skip to content

dk/WWW-Mechanize-PhantomJS-Catalyst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

DESCRIPTION
    WWW::Mechanize for Catalyst apps with javascript. 

SYNOPSIS

    # driving
    use WWW::Mechanize::PhantomJS::Catalyst;
    my $mech = WWW::Mechanize::PhantomJS::Catalyst->new(app => 'MyApp');
    $mech->get("/hello.html");
 
    # testing 
    use Test::More;
    use Test::WWW::Mechanize::PhantomJS::Catalyst;
    ok( my $mech = Test::WWW::Mechanize::PhantomJS::Catalyst->new(app => 'MyApp'), "Mechanize object ok");
    $mech->get_ok("/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>.

About

mechanize javascript in your catalyst apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages