WWW::Mechanize::Firefox::Installation - How to install the components
If you notice that tests get skipped and/or the module installs but "does not seem to work", there are some more steps required to configure Firefox:
or a later version from
The archive contains one subdirectory with a name of the form
bard-mozrepl-abcdefg. This new archive must have the files at the root entry, not in a subdirectory.
The file layout should look like this:
chrome/ components/ defaults/ chrome.manifest install.rdf logo.png
.xpifile into Firefox. For example you can drag and drop the file into Firefox.
mozreplin Firefox by going to the menu:
"Tools" -> "MozRepl" -> "Start"
You may want to tick the "Activate on startup" item.
Alternatively, launch the Firefox binary with the
-mozrepl command line switch:
perl Makefile.PL nmake test
or if you are using Strawberry Perl or Citrus Perl
perl Makefile.PL dmake test
If tests fail with an error from Firefox that a file could not be found, check that the test suite and the Firefox process are run using the same user. Otherwise, the Firefox process might not have the permissions to access the files created by the test suite.
If you use ActiveStates package manager, you can find some pre-packaged but untested PPMs at https://github.com/Corion/www-mechanize-firefox/downloads .
As I don't use
ppm, I can't offer any support for them.
Copyright 2010-2013 by Max Maischein
All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.