Chrome::DevToolsProtocol::Transport::Mojo - Mojolicious backend for Chrome communication
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.
The public repository of this module is https://github.com/Corion/www-mechanize-chrome.
The public support forum of this module is https://perlmonks.org/.
Please report bugs in this module via the RT CPAN bug queue at https://rt.cpan.org/Public/Dist/Display.html?Name=WWW-Mechanize-Chrome or via mail to www-mechanize-Chrome-Bugs@rt.cpan.org.
Max Maischein corion@cpan.org
corion@cpan.org
Copyright 2010-2018 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.