Thanks for the bug report. The code is here if you would like to suggest a
patch for the next release:
https://github.com/lukec/cpan-selenium-rc-perl
Luke
On Wed, Apr 6, 2011 at 12:43 PM, Jason Stillwell via RT <
bug-Test-WWW-Selenium@rt.cpan.org> wrote:
Show quoted text> Wed Apr 06 15:43:08 2011: Request 67278 was acted upon.
> Transaction: Ticket created by dragonfax
> Queue: Test-WWW-Selenium
> Subject: garbage collection of selenium clears $@
> Broken in: 1.24
> Severity: Normal
> Owner: Nobody
> Requestors: dragonfax@gmail.com
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=67278 >
>
>
> example code speaks for itself.
>
> eval {
>
> my $selenium =
> WWW::Selenium->new(
> host => "localhost",
> port => 4444,
> browser => "*firefox",
> browser_url => '
http://www.google.com'
> );
> $selenium->start;
>
> die("something");
>
> # doesn't get this far (naturally)
>
> };
> # here $@ is undef, what happened to my error?
>
>