=cut
-our $VERSION = '0.05';
+our $VERSION = '0.06';
=head1 DEVELOPERISH RELEASE
yourself, (for instance you wish to start up a server once and run a number of
tests against it) pass C<-no_selenium_server> to import:
- use Test::WWW::Selenium 'MyApp'
+ use Test::WWW::Selenium 'MyApp',
-no_selenium_server => 1
Along a similar vein you can also pass command line arguments to the selenium
server via C<-selenium_args>:
- use Test::WWW::Selenium 'MyApp'
+ use Test::WWW::Selenium 'MyApp',
-selenium_args => "-singleWindow -port 4445"
=head2 sel_pid
diag("Shutting down Selenium Server $sel_pid") if $DEBUG;
$www_selenium->stop();
# This can fail if a page hasn't been requested yet.
- eval { $www_selenium->do_command('shutDown') };
+ eval { $www_selenium->do_command('shutDownSeleniumServer') };
undef $www_selenium;
}
diag("Killing Selenium Server $sel_pid") if $DEBUG;
undef $sel_pid;
} elsif ($www_selenium) {
- diag("Stopping Selenium Session $sel_pid") if $DEBUG;
- $www_selenium->stop();
+ diag("Using external Selenium server. Don't shut it down.") if $DEBUG;
undef $www_selenium;
}
=head1 ACKNOWLEDGEMENTS
-Thanks for mst for getting on my case to actually write this thing :)
+Thanks for mst for getting on my (jrockway's) case to actually write this thing
+:)
=head1 COPYRIGHT & LICENSE