NAME

Chrome::DevToolsProtocol::Transport::Mojo - Mojolicious backend for Chrome communication

SYNOPSIS

my $got_endpoint = Future->done( "ws://..." );
my $t = Chrome::DevToolsProtocol::Transport::Mojo->new;
$t->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:

Mojo::UserAgent

Future::Mojo

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.