1WWW::Selenium::Util(3)User Contributed Perl DocumentationWWW::Selenium::Util(3)
2
3
4

NAME

6       WWW::Selenium::Util - Utility code to help test using Selenium
7

VERSION

9       version 1.36
10

SYNOPSIS

12       WWW::Selenium::Util contains utility functions to help use Selenium in
13       your test scripts:
14
15         use WWW::Selenium::Util qw/server_is_running/;
16         use Test::More;
17
18         if (server_is_running) {
19             plan tests => 1;
20         }
21         else {
22             plan skip_all => "No selenium server found!";
23             exit 0;
24         }
25
26         # ... your tests ...
27

NAME

29       WWW::Selenium::Util - Utility code to help test using Selenium
30

FUNCTIONS

32   server_is_running( $host, $port )
33       Returns true if a Selenium server is running.  The host and port
34       parameters are optional, and default to "localhost:4444".
35
36       Environment vars "SRC_HOST" and "SRC_PORT" can also be used to
37       determine the server to check.
38

AUTHORS

40       Written by Luke Closs <selenium@5thplane.com>
41

LICENSE

43       Copyright (c) 2007 Luke Closs <lukec@cpan.org>
44
45       This program is free software; you can redistribute it and/or modify it
46       under the same terms as Perl itself.
47
48
49
50perl v5.32.0                      2020-07-28            WWW::Selenium::Util(3)
Impressum