NAME

Test::WWW::WebKit2::Catalyst - Perl extension for using an embedding WebKit engine for Catalyst tests

SYNOPSIS

use Test::WWW::WebKit2::Catalyst;

my $webkit = Test::WWW::WebKit2::Catalyst->new(app => 'TestApp', xvfb => 1);
$webkit->init;

$webkit->open_ok("http://localhost:$ENV{CATALYST_PORT}/index");
$webkit->type_ok("q", "hello world");
$webkit->click_ok("xpath=//button");
$webkit->wait_for_page_to_load_ok(5000);
$webkit->title_is("foo");

DESCRIPTION

Test::WWW::WebKit2::Catalyst is a drop-in replacement for Test::WWW::Selenium::Catalyst using Gtk3::WebKit2 as browser instead of relying on an external Java server and an installed browser.

EXPORT

None by default.

SEE ALSO

WWW::Selenium and Test::WWW::Selenium for the base packages. See Test::WWW::Selenium for API documentation.

AUTHOR

Jason Shaun Carty <jc@atikon.com>, Philipp Voglhofer <pv@atikon.com>, Philipp A. Lehner <pl@atikon.com>

COPYRIGHT AND LICENSE

Copyright (C) 2011 by Jason Shaun Carty, Philipp Voglhofer and Philipp A. Lehner

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.3 or, at your option, any later version of Perl 5 you may have available.