GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
WWW::Selenium::Util(3) User Contributed Perl Documentation WWW::Selenium::Util(3)

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

version 1.36

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 ...

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

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.

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

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.

2013-05-15 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.