WWW::S...m::Util(3pm)
πΈ NAME πΈ
WWW::Selenium::Util β bestie, it's literally just utility code that helps you test stuff using Selenium π
(oh and heads up, this page is from the User Contributed Perl Documentation, so you know it's a real one π«Ά)
β¨ VERSION β¨
okay so the version is 1.36. that's the one. periodt. π
π SYNOPSIS π
so like, WWW::Selenium::Util is packing utility functions to help you use Selenium in your test scripts, no cap:
use WWW::Selenium::Util qw/server_is_running/;
use Test::More;
if (server_is_running) {
plan tests => 1;
}
else {
plan skip_all => "No selenium server found!";
exit 0;
}
# ... your tests ...
π NAME π
WWW::Selenium::Util β Utility code to help test using Selenium π
(yes bestie, it said it again. iconic behaviour honestly.)
π¦ FUNCTIONS π¦
server_is_running( $host, $port )
okay so this one is giving main character energy β it returns true if a Selenium server is running π
the $host and $port params are optional bestie, and if you don't pass them they default to localhost:4444 β¨
also!! the environment vars SRC_HOST and SRC_PORT can be used too, if that's more your vibe β they determine the server to check π
π AUTHORS π
written by Luke Closs <selenium@5thplane.com> π«Ά
π LICENSE π
Copyright (c) 2007 Luke Closs <lukec@cpan.org> πΈ
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. slay. π
okay that's the whole page bestie, we ate and left no crumbs π
and a lil sign-off for the record: this was rendered by perl v5.34.0 on 2022-06-28, and the manual page itself is WWW::S...m::Util(3pm) πβ¨
π¦ where this page comes from
- debian bookworm: libtest-www-selenium-perl 1.36-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libtest-www-selenium-perl 1.36-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libtest-www-selenium-perl 1.36-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libtest-www-selenium-perl 1.36-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtest-www-selenium-perl 1.36-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms