WWW::S...m::Util(3pm)

πŸ“¦
version 1.36 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

🌸 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