Skip Menu |

This queue is for tickets about the WWW-Mechanize-PhantomJS CPAN distribution.

Report information
The Basics
Id: 131310
Status: resolved
Priority: 0/
Queue: WWW-Mechanize-PhantomJS

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.22
Fixed in: (no value)



Subject: Method "links" not implemented
It seems that the method "links", documented in https://metacpan.org/pod/WWW::Mechanize::PhantomJS#$mech-%3Elinks() is not implemented. Trying to use it yields the following error: Can't locate object method "links" via package "WWW::Mechanize::PhantomJS" at ....
Thank you very much for reporting this! I've transplanted the test from WWW::Mechanize::Chrome and implemented ->links() in v0.23. Please note that phantomjs itself is out of maintenance now, so maybe looking at WWW::Mechanize::Chrome together with Chrome / Chromium is a better way forward if you're using phantomjs in production.