Changes for version 0.74
- ->xpath() now returns the best result depending on the query. This result type depends on the Firefox XPath implementation. //p will return a list of nodes string-length(//p) will return a list of string lengths To force the old behaviour, you need to call ->xpath() with the following option:
- $mech->xpath( $query, type => $mech->xpathResult('ORDERED_NODE_SNAPSHOT_TYPE') );
- Implementation and tests contributed by dfaure again
- ->xpathEx() returns more information about the type of each query result instead of returning the best guess
- WWW::Mechanize::Firefox is currently tested against the following versions
- 3.0.19
- 3.5.19
- 3.6.21
- 5.0.1
- 6.0.1
- 7.0.1
- 8.0
- 9.0
- 10.0.11 (ESR)
- 13.0
- 15.0
- 17.0.5 (ESR)
- 18.0.2
- 19.0
- 20.0.1
- . Skip t/rt65615.t on FF 5.x, 6.x See L<https://bugzilla.mozilla.org/show_bug.cgi?id=649924>, that version has problems with GPU acceleration. Debugging the exact conditions is propably not worth it.
Documentation
Recipes for using WWW::Mechanize::Firefox
Frequently Asked Questions on WWW::Mechanize::Firefox
How to install the components
Things to watch out for
runs the test suite across several instances of Firefox
Modules
inspect and automate the Firefox UI
API wrapper for Firefox 3.5+
API wrapper for Firefox 3.6+
API wrapper for Firefox 4+
use a mozrepl enabled Firefox to display HTML
retrieve cookies from a live Firefox instance
use Firefox as if it were WWW::Mechanize
Domain Specific Language for short scripts
WWW::Mechanize::Firefox example programs.
Examples
- examples/README
- examples/bcat.pl
- examples/dump-links.pl
- examples/fullscreen.pl
- examples/gen_examples_pod.pl
- examples/javascript.pl
- examples/js-console.pl
- examples/manipulate-javascript.pl
- examples/open-local-file.pl
- examples/open-url.pl
- examples/proxy-settings.pl
- examples/scrape-ff.pl
- examples/screenshot.pl
- examples/tail-console.pl
- examples/urlbar.pl