WWW::Selenium::Util(3pm)

WWW::Selenium::Util3pm

Utility code to help test using selenium

Usage

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

Version

version 1.36

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.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9–11
  6. 12–13

Authors

Written by Luke Closs <[email protected]>

License

Copyright (c) 2007 Luke Closs <[email protected]>

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

From libtest-www-selenium-perl 1.36-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.