From: Tomas Doran Date: Fri, 16 Sep 2011 08:09:37 +0000 (+0100) Subject: Fix documentation errors. RT#64979 X-Git-Tag: 0.07~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FTest-WWW-Selenium-Catalyst.git;a=commitdiff_plain;h=765b2b209b5b16985939956f29cdcd6aae6d9c93 Fix documentation errors. RT#64979 --- diff --git a/Changes b/Changes index bfa7276..fc09646 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,6 @@ Revision history for Test-WWW-Selenium-Catalyst + - Fix documentation errors. RT#64979 - Switch shutDown to shutDownSeleniumServer, which is present in all versions of SeleniumRC but is the only shut down command that works from 1.0 on. diff --git a/lib/Test/WWW/Selenium/Catalyst.pm b/lib/Test/WWW/Selenium/Catalyst.pm index c6379e3..4de39a4 100644 --- a/lib/Test/WWW/Selenium/Catalyst.pm +++ b/lib/Test/WWW/Selenium/Catalyst.pm @@ -103,13 +103,13 @@ and it's killed when your test exits. If wish to manage a selenium server 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::Catalyst '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::Catalyst 'MyApp', -selenium_args => "-singleWindow -port 4445" =head2 sel_pid