The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTTP::Cookies::Chrome - retrieve cookies from a live Chrome instance

SYNOPSIS

  use HTTP::Cookies::Chrome;
  my $cookie_jar = HTTP::Cookies::Chrome->new();
  # use just like HTTP::Cookies

DESCRIPTION

This package overrides the load() and save() methods of HTTP::Cookies so it can work with a live Chrome instance.

Reusing an existing connection

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:

  my $cookie_jar = HTTP::Cookies::Chrome->new(
      driver => $driver
  );

SEE ALSO

HTTP::Cookies - the interface used

REPOSITORY

The public repository of this module is http://github.com/Corion/www-mechanize-chrome.

AUTHOR

Max Maischein corion@cpan.org

COPYRIGHT (c)

Copyright 2009-2019 by Max Maischein corion@cpan.org.

LICENSE

This module is released under the same terms as Perl itself.