Chrome:...AnyEvent(3)

πŸ“¦
version 0.78 Β· 3 versions
, in fedora 43, fedora 44

πŸ’– 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 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