From: Daniel Austin Date: Sun, 13 Sep 2009 13:31:27 +0000 (+1000) Subject: hanging shutDown to shutDownSeleniumServer because Selenium RC 1.0 uses the latter X-Git-Tag: 0.07~11 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FTest-WWW-Selenium-Catalyst.git;a=commitdiff_plain;h=a6c14dc68f42680a7dfda4eed9af846a349887c3 hanging shutDown to shutDownSeleniumServer because Selenium RC 1.0 uses the latter --- diff --git a/lib/Test/WWW/Selenium/Catalyst.pm b/lib/Test/WWW/Selenium/Catalyst.pm index 05babb3..c87806d 100644 --- a/lib/Test/WWW/Selenium/Catalyst.pm +++ b/lib/Test/WWW/Selenium/Catalyst.pm @@ -270,7 +270,7 @@ END { 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;