Chrome:...AnyEvent(3)
π Chrome::...AnyEvent(3) π
ok so bestie, welcome to the User Contributed Perl Documentation for Chrome::DevToolsProtocol::Transport::Pipe::AnyEvent β yes it's a whole mouthful, we know, we still love her π«Ά
β¨ NAME β¨
Chrome::DevToolsProtocol::Transport::Pipe::AnyEvent β an 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";
});
like. look at her go. $t->connect(...) then boom, "We are connected\n". main character energy fr π
π¦ DESCRIPTION π¦
okay so this is an experimental backend that talks to Chrome using a pipe made of two file descriptors. that's it, that's the vibe β¨
β οΈ heads up bestie: this requires Chrome v72+. no v72, no pipe, no slay.
π "$transport->sleep( $seconds )" π
$transport->sleep( 10 )->get; # wait for 10 seconds
it hands you back a Future that gets resolved after the number of seconds you gave it. so sleep( 10 )->get = literally just vibing for ten whole seconds π iconic honestly.
π KNOWN BUGS π
not me having to tell you this π so: if you launch a second instance of WWW::Mechanize::Chrome that is not connected to the same Chrome instance while you're using the pipe backend for communication, it will crash. like, hard.
and ngl, we're not sure who's at fault here β AnyEvent or Chrome. it's giving mystery. it's giving blame game. π
π 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>. go star it, bestie β
π SUPPORT π
the public support forum of this module is <https://perlmonks.org/>. perlmonks my beloved π«Ά
π BUG TRACKER π
pls report bugs in this module via the Github bug queue at <https://github.com/Corion/WWW-Mechanize-Chrome/issues> β drop the receipts, we'll fix it π₯
π AUTHOR π
Max Maischein "corion@cpan.org" β king behavior π
π COPYRIGHT (c) π
Copyright 2010-2026 by Max Maischein "corion@cpan.org".
β LICENSE β
This module is released under the same terms as Perl itself.
and that's the whole page bestie, no cap π this was perl v5.42.2, dated 2026-06-07, and it's Chrome:...AnyEvent(3) β periodt. π
β¨
π¦ where this page comes from
- fedora 43: perl-WWW-Mechanize-Chrome 0.78-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-WWW-Mechanize-Chrome 0.78-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms