NAME
Chrome::DevToolsProtocol::Transport::Pipe::AnyEvent- EXPERIMENTAL Local pipe backend for Chrome communication
SYNOPSIS
my $t = Chrome::DevToolsProtocol::Transport::Pipe::AnyEvent->new;
$t->connect( $handler, $got_endpoint, $logger)
->then(sub {
my( $connection ) = @_;
print "We are connected\n";
});
DESCRIPTION
This is an experimental backend communicating with Chrome using a pipe of two file descriptors.
This requires Chrome v72+.
$transport->sleep( $seconds )
$transport->sleep( 10 )->get; # wait for 10 seconds
Returns a Future that will be resolved in the number of seconds given.
KNOWN BUGS
Launching a second instance of WWW::Mechanize::Chrome not connected to the same Chrome instance when using the pipe backend for communication will crash.
I'm not sure who is at fault, AnyEvent or Chrome.
SEE ALSO
The factory class for transports
Chrome::DevToolsProtocol::Transport::Pipe
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.