HTTP::Cookies::MozRepl - retrieve cookies from a live Firefox instance
use HTTP::Cookies::MozRepl; my $cookie_jar = HTTP::Cookies::MozRepl->new(); # use just like HTTP::Cookies
This package overrides the load() and save() methods of HTTP::Cookies so it can work with a live Firefox instance.
Note: To use this module, Firefox must be running and it must have the mozrepl extension installed.
mozrepl
See HTTP::Cookies.
If you already have an existing connection to Firefox that you want to reuse, just pass the MozRepl::RemoteObject instance to the cookie jar constructor in the repl parameter:
repl
my $cookie_jar = HTTP::Cookies::MozRepl->new( repl => $repl );
https://developer.mozilla.org/en/nsICookieManager - nsICookieManager documentation
HTTP::Cookies - the interface used
The public repository of this module is http://github.com/Corion/www-mechanize-firefox.
Max Maischein corion@cpan.org
corion@cpan.org
Copyright 2009-2014 by Max Maischein corion@cpan.org.
This module is released under the same terms as Perl itself.
To install WWW::Mechanize::Firefox, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Mechanize::Firefox
CPAN shell
perl -MCPAN -e shell install WWW::Mechanize::Firefox
For more information on module installation, please visit the detailed CPAN module installation guide.