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

Owner: bobtfish [...]
Requestors: nine [...]

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
Download (untitled) / with headers
text/plain 314b
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/ Test-WWW-Selenium-Catalyst-0.06.patched//lib/Test/WWW/Selenium/ --- Test-WWW-Selenium-Catalyst-0.06/lib/Test/WWW/Selenium/ 2009-08-26 18:10:11.000000000 +0200 +++ Test-WWW-Selenium-Catalyst-0.06.patched//lib/Test/WWW/Selenium/ 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!

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to