NAME

Chrome::DevToolsProtocol::Transport::AnyEvent - AnyEvent backend for Chrome communication

SYNOPSIS

my $got_endpoint = Future->done( "ws://..." );
Chrome::DevToolsProtocol::Transport::AnyEvent->connect( $handler, $got_endpoint, $logger)
->then(sub {
    my( $connection ) = @_;
    print "We are connected\n";
});

$transport->sleep( $seconds )

$transport->sleep( 10 )->get; # wait for 10 seconds

Returns a Future that will be resolved in the number of seconds given.

REQUIRED ADDITIONAL MODULES

This module needs additional modules that are not installed by the default installation of WWW::Mechanize::Chrome:

AnyEvent

AnyEvent::WebSocket::Client

AnyEvent::Future

REPOSITORY

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

SUPPORT

The public support forum of this module is https://perlmonks.org/.

BUG TRACKER

Please report bugs in this module via the Github bug queue at https://github.com/Corion/WWW-Mechanize-Chrome/issues

AUTHOR

Max Maischein corion@cpan.org

COPYRIGHT (c)

Copyright 2010-2024 by Max Maischein corion@cpan.org.

LICENSE

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