Please report any problems to RT, the Catalyst mailing list, or the
#catalyst IRC channel on L<irc.perl.org>. Thanks!
-=head2 KNOWN ISSUES
-
-Sometimes the Selenium server doesn't die after the tests when running
-under C<make test>. C<prove> works fine, so until I (or you!) figure
-out the problem, use C<prove>.
-
=head1 SYNOPSIS
use Test::WWW::Selenium::Catalyst 'MyApp';
This module starts the SeleniumRC server and your Catalyst app so that
you can test it with SeleniumRC. Once you've called
-C<Test::WWW::Selenium::Catalyst->start>, everything is just like
+C<< Test::WWW::Selenium::Catalyst->start >>, everything is just like
L<Test::WWW::Selenium|Test::WWW:Selenium>.
=head1 FUNCTIONS
my $pid;
if(0 == ($pid = fork())){
local $SIG{TERM} = sub {
- diag("Selenium server $$ going down (TERM)");
+ diag("Selenium server $$ going down (TERM)") if $DEBUG;
exit 0;
};
if(!$DEBUG){
close *STDERR;
close *STDOUT;
- close *STDIN;
+ #close *STDIN;
}
diag("Selenium running in $$") if $DEBUG;
- Alien::SeleniumRC->start()
+ Alien::SeleniumRC::start()
or croak "Can't start Selenium server";
diag("Selenium server $$ going down") if $DEBUG;
exit 1;