Skip Menu |

This queue is for tickets about the Test-WWW-Selenium-Catalyst CPAN distribution.

Report information
The Basics
Id: 50880
Status: resolved
Priority: 0/
Queue: Test-WWW-Selenium-Catalyst

People
Owner: bobtfish [...] bobtfish.net
Requestors: nine [...] detonation.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in:
  • 0.02
  • 0.03
  • 0.04
  • 0.05
  • 0.05_99
  • 0.06
Fixed in: (no value)



Subject: shutDown command no longer works with current SeleniumRC - patch attached
Seems like shutDown was only an internal Selenium command that got removed. shutDownSeleniumServer is the one that should have been used. The attached patch fixes this problem, so the Selenium server gets shut down properly again and repeating test runs don't fail anymore due to a Selenium server already running.
Subject: Test-WWW-Selenium-Catalyst-shutDownSeleniumServer.diff
diff -Naur Test-WWW-Selenium-Catalyst-0.06/lib/Test/WWW/Selenium/Catalyst.pm Test-WWW-Selenium-Catalyst-0.06.patched//lib/Test/WWW/Selenium/Catalyst.pm --- Test-WWW-Selenium-Catalyst-0.06/lib/Test/WWW/Selenium/Catalyst.pm 2009-08-26 18:10:11.000000000 +0200 +++ Test-WWW-Selenium-Catalyst-0.06.patched//lib/Test/WWW/Selenium/Catalyst.pm 2009-10-27 15:03:44.326420219 +0100 @@ -270,7 +270,7 @@ 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;
This is fixed in the next release, thanks for the patch!