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