Firefo...Window(3pm)

πŸ“¦ version 1.63, in debian trixie

πŸ¦‹ Firefo...Window(3pm) β€” aka Firefox::Marionette::WebWindow πŸ’–

okay bestie, welcome to the group chat. this is the manual page for Firefox::Marionette::WebWindow β€” a lil Perl module from the User Contributed Perl Documentation corner of the world, and yes it is giving main character energy. it's currently at Version 1.63 ✨


🌸 NAME

Firefox::Marionette::WebWindow β€” it's the glow-up representation of a Firefox window that you grabbed using the Marionette protocol. that's the whole vibe. πŸ’…


🌈 VERSION

Version 1.63


⭐ SYNOPSIS

no notes, just look at this:

use Firefox::Marionette();

my $firefox = Firefox::Marionette->new();
my $original_window = $firefox->window_handle();
my $javascript_window = $firefox->script('return window'); # only works for Firefox 121 and later
if ($javascript_window ne $original_window) {
    die "That was unexpected!!! What happened?";
}

and yes, that comment is doing a lot of heavy lifting β€” the return window script only works for Firefox 121 and later, so if you're on an older one, it's not you, it's the browser. 🫢


πŸŽ€ DESCRIPTION

this module handles the implementation of a Firefox Window using the Marionette protocol. that's it, that's the description, and honestly? iconic. short and confident. πŸ‘‘


πŸ’œ CONSTANTS

πŸ”₯ IDENTIFIER

returns the window identifier β€” you can find the spec definition at https://www.w3.org/TR/webdriver/#dfn-window-handles


🧚 SUBROUTINES/METHODS

✨ new

returns a new window. brand new, fresh out the box, no baggage. πŸ’…

πŸ¦‹ uuid

returns the browser generated UUID connected with this window. so like, this window's personal little ID number that the browser made. slay.


πŸ’€ DIAGNOSTICS

None. literally none. it's not gonna yell at you.


πŸ“ CONFIGURATION AND ENVIRONMENT

Firefox::Marionette::WebWindow requires no configuration files or environment variables. low maintenance queen. 🌸


🌟 DEPENDENCIES

None. periodt.


πŸ™ˆ INCOMPATIBILITIES

None reported. πŸŽ€


😭 BUGS AND LIMITATIONS

to report a bug, or to view the current list of bugs, please visit https://github.com/david-dick/firefox-marionette/issues

bestie if you find a bug, go tell them, they're literally asking. 🫢

πŸ‘‘ AUTHOR

David Dick "<ddick@cpan.org>"


Copyright (c) 2024, David Dick "<ddick@cpan.org>". All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See "perlartistic" in perlartistic.


🌈 DISCLAIMER OF WARRANTY

okay this next bit is the legal one so we're keeping it exactly as it is, no vibes editing allowed, this is the serious section πŸ’œ

BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.


and that's the whole page bestie πŸ₯Ή this one came out of perl v5.40.1, dated 2025-03-16, and it's filed under Firefo...Window(3pm). go forth and handle your windows responsibly. bye πŸ’…βœ¨

πŸ“¦ where this page comes from