Chrome:...pe::Mojo(3)

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

✨ NAME ✨

Chrome::DevToolsProtocol::Transport::Pipe::Mojo β€” okay bestie, this is the EXPERIMENTAL local pipe backend for Chrome communication πŸ’… (it lives in the User Contributed Perl Documentation part of the manual, section 3, iykyk)


🌸 SYNOPSIS 🌸

my $t = Chrome::DevToolsProtocol::Transport::Pipe::Mojo->new;
$t->connect( $handler, $got_endpoint, $logger)
->then(sub {
    my( $connection ) = @_;
    print "We are connected\n";
});

Like… look at that. connect hands you a $connection and you just print that you're connected. Main character energy fr fr 🫢


πŸ’– DESCRIPTION πŸ’–

So this is an experimental backend that talks to Chrome using a pipe of two file descriptors. That's the whole vibe β€” two fds, one pipe, Chrome on the other end. πŸ¦‹

Heads up bestie: this requires Chrome v72+. No v72, no slay. πŸ’€

πŸŽ€ $transport->sleep( $seconds )

$transport->sleep( 10 )->get; # wait for 10 seconds

Returns a Future that will be resolved in the number of seconds given. So you pass in the seconds, you get a Future back, and it resolves after that many seconds. Lowkey the chillest method here. 😴✨


πŸ‘‘ 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 lurk, it's iconic. πŸŽ€


🫢 SUPPORT 🫢

The public support forum of this module is <https://perlmonks.org/>. The monks are literally so nice, no cap. 🧚


πŸ› BUG TRACKER πŸ›

Please report bugs in this module via the Github bug queue at <https://github.com/Corion/WWW-Mechanize-Chrome/issues>. Found a bug? Don't gatekeep it, bestie, drop it in the queue. πŸ’…


⭐ AUTHOR ⭐

Max Maischein "corion@cpan.org" β€” king behaviour honestly πŸ‘‘


Copyright 2010-2026 by Max Maischein "corion@cpan.org".


🌸 LICENSE 🌸

This module is released under the same terms as Perl itself. Periodt. πŸ’–


and that's the whole page, bestie πŸŽ€βœ¨ This one's from the User Contributed Perl Documentation, perl v5.42.2, dated 2026-06-07 β€” go forth and pipe responsibly, mwah πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from