NAME

AnyEvent::Chromi - Remotely control Google Chrome from Perl

SYNOPSIS

# Start in client mode (need "chromix-server" or examples/server.pl)
my $chromi AnyEvent::Chromi->new(mode => 'client', on_connect => sub {
    my ($chromi) = @_;
    ...
    $chromi->call(...);
});

# Start in server mode
my $chromi AnyEvent::Chromi->new(mode => 'server');

DESCRIPTION

AnyEvent::Chromi allows you to remotely control Google Chrome from a Perl script. It requires the Chromi extension https://github.com/smblott-github/chromi, which exposes all of the Chrome Extensions API via a websocket connection.

METHODS

EXAMPLES

See also the "examples" directory:

AUTHOR

David Schweikert <david@schweikert.ch>, heavily influenced by Chromi/Chromix by Stephen Blott.

SEE ALSO