Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
WWW::Selenium::Util(3)User Contributed Perl DocumentatioWWW::Selenium::Util(3)

NAME
       WWW::Selenium::Util - Utility code to help test using Selenium

VERSION
       version 1.36

SYNOPSIS
       WWW::Selenium::Util contains utility functions to help use Selenium in
       your test scripts:

	 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

FUNCTIONS
   server_is_running( $host, $port )
       Returns true if a Selenium server is running.  The host and port
       parameters are optional,	and default to "localhost:4444".

       Environment vars	"SRC_HOST" and "SRC_PORT" can also be used to
       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.

perl v5.32.1			  2013-05-15		WWW::Selenium::Util(3)

NAME | VERSION | SYNOPSIS | NAME | FUNCTIONS | AUTHORS | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=WWW::Selenium::Util&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help