Skip to content

Commit

Permalink
Minor POD touchups
Browse files Browse the repository at this point in the history
Signed-off-by: Luke Closs <gravatar@5thplane.com>(cherry picked from commit 0189893d1757f509aadaaaef9a434d3210d8d84f)
  • Loading branch information
dandv authored and Luke Closs committed Sep 1, 2009
1 parent 561c83f commit f3bcb9b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion BUILDING_FROM_SELENIUM.txt
@@ -1,6 +1,6 @@
This module's WWW/Selenium.pm is generated from iedoc.xml, an artifact of the
Selenium-core build. Because the file is generated, it is not kept in
subversion. To create this file, follow these steps:
version control. To create this file, follow these steps:

1) Find a iedoc.xml, and put it in the perl/ directory.
To download and extract iedoc.xml from the latest nightly selenium-core
Expand Down
20 changes: 10 additions & 10 deletions lib/Test/WWW/Selenium.pm
Expand Up @@ -12,7 +12,7 @@ Test::WWW::Selenium - Test applications using Selenium Remote Control
=head1 SYNOPSIS
Test::WWW::Selenium is a subclass of WWW::Selenium that provides
Test::WWW::Selenium is a subclass of L<WWW::Selenium> that provides
convenient testing functions.
use Test::More tests => 5;
Expand All @@ -27,7 +27,7 @@ convenient testing functions.
);
# use special test wrappers around WWW::Selenium commands:
$sel->open_ok("http://www.google.com");
$sel->open_ok("http://www.google.com", "fetched G's site alright");
$sel->type_ok( "q", "hello world");
$sel->click_ok("btnG");
$sel->wait_for_page_to_load_ok(5000);
Expand All @@ -40,23 +40,23 @@ Selenium Server. (The Selenium Server is a Java application.)
=head1 DESCRIPTION
This module is a C<WWW::Selenium> subclass providing some methods
This module is a L<WWW::Selenium> subclass providing some methods
useful for writing tests. For each Selenium command (open, click,
type, ...) there is a corresponding <command>_ok method that
type, ...) there is a corresponding C<< <command>_ok >> method that
checks the return value (open_ok, click_ok, type_ok).
For each Selenium getter (get_title, ...) there are four autogenerated
methods (<getter>_is, <getter>_isnt, <getter>_like, <getter>_unlike)
to check the value of the attribute.
methods (C<< <getter>_is >>, C<< <getter>_isnt >>, C<< <getter>_like >>,
C<< <getter>_unlike>>) to check the value of the attribute.
By calling the constructor with default_names set to a true value your
By calling the constructor with C<default_names> set to a true value your
tests will be given a reasonable name should you choose not to provide
one of your own.
=head1 ADDITIONAL METHODS
Test::WWW::Selenium also provides some other handy testing functions
that wrap WWW::Selenium commands:
that wrap L<WWW::Selenium> commands:
=over 4
Expand Down Expand Up @@ -195,7 +195,7 @@ Originally by Mattia Barbon <mbarbon@cpan.org>
=head1 LICENSE
Copyright (c) 2006 Luke Closs <lukec@cpan.org>
Copyright (c) 2005,2006 Mattia Barbon <mbarbon@cpan.org>
Copyright (c) 2005, 2006 Mattia Barbon <mbarbon@cpan.org>
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself
modify it under the same terms as Perl itself.
8 changes: 4 additions & 4 deletions lib/WWW/Selenium/Util.pm
Expand Up @@ -32,10 +32,10 @@ in your test scripts:
=head2 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
parameters are optional, and default to C<localhost:4444>.
Environment vars SRC_HOST and SRC_PORT can also be used to determine
the server to check.
Environment vars C<SRC_HOST> and C<SRC_PORT> can also be used to
determine the server to check.
=cut

Expand Down Expand Up @@ -64,4 +64,4 @@ 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
modify it under the same terms as Perl itself.

0 comments on commit f3bcb9b

Please sign in to comment.