Skip to content

Commit f3bcb9b

Browse files
dandvLuke Closs
authored and
Luke Closs
committed
Minor POD touchups
Signed-off-by: Luke Closs <[email protected]>(cherry picked from commit 0189893d1757f509aadaaaef9a434d3210d8d84f)
1 parent 561c83f commit f3bcb9b

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

BUILDING_FROM_SELENIUM.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
This module's WWW/Selenium.pm is generated from iedoc.xml, an artifact of the
22
Selenium-core build. Because the file is generated, it is not kept in
3-
subversion. To create this file, follow these steps:
3+
version control. To create this file, follow these steps:
44

55
1) Find a iedoc.xml, and put it in the perl/ directory.
66
To download and extract iedoc.xml from the latest nightly selenium-core

lib/Test/WWW/Selenium.pm

+10-10
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Test::WWW::Selenium - Test applications using Selenium Remote Control
1212
1313
=head1 SYNOPSIS
1414
15-
Test::WWW::Selenium is a subclass of WWW::Selenium that provides
15+
Test::WWW::Selenium is a subclass of L<WWW::Selenium> that provides
1616
convenient testing functions.
1717
1818
use Test::More tests => 5;
@@ -27,7 +27,7 @@ convenient testing functions.
2727
);
2828
2929
# use special test wrappers around WWW::Selenium commands:
30-
$sel->open_ok("http://www.google.com");
30+
$sel->open_ok("http://www.google.com", "fetched G's site alright");
3131
$sel->type_ok( "q", "hello world");
3232
$sel->click_ok("btnG");
3333
$sel->wait_for_page_to_load_ok(5000);
@@ -40,23 +40,23 @@ Selenium Server. (The Selenium Server is a Java application.)
4040
4141
=head1 DESCRIPTION
4242
43-
This module is a C<WWW::Selenium> subclass providing some methods
43+
This module is a L<WWW::Selenium> subclass providing some methods
4444
useful for writing tests. For each Selenium command (open, click,
45-
type, ...) there is a corresponding <command>_ok method that
45+
type, ...) there is a corresponding C<< <command>_ok >> method that
4646
checks the return value (open_ok, click_ok, type_ok).
4747
4848
For each Selenium getter (get_title, ...) there are four autogenerated
49-
methods (<getter>_is, <getter>_isnt, <getter>_like, <getter>_unlike)
50-
to check the value of the attribute.
49+
methods (C<< <getter>_is >>, C<< <getter>_isnt >>, C<< <getter>_like >>,
50+
C<< <getter>_unlike>>) to check the value of the attribute.
5151
52-
By calling the constructor with default_names set to a true value your
52+
By calling the constructor with C<default_names> set to a true value your
5353
tests will be given a reasonable name should you choose not to provide
5454
one of your own.
5555
5656
=head1 ADDITIONAL METHODS
5757
5858
Test::WWW::Selenium also provides some other handy testing functions
59-
that wrap WWW::Selenium commands:
59+
that wrap L<WWW::Selenium> commands:
6060
6161
=over 4
6262
@@ -195,7 +195,7 @@ Originally by Mattia Barbon <[email protected]>
195195
=head1 LICENSE
196196
197197
Copyright (c) 2006 Luke Closs <[email protected]>
198-
Copyright (c) 2005,2006 Mattia Barbon <[email protected]>
198+
Copyright (c) 2005, 2006 Mattia Barbon <[email protected]>
199199
200200
This program is free software; you can redistribute it and/or
201-
modify it under the same terms as Perl itself
201+
modify it under the same terms as Perl itself.

lib/WWW/Selenium/Util.pm

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ in your test scripts:
3232
=head2 server_is_running( $host, $port )
3333
3434
Returns true if a Selenium server is running. The host and port
35-
parameters are optional, and default to localhost:4444
35+
parameters are optional, and default to C<localhost:4444>.
3636
37-
Environment vars SRC_HOST and SRC_PORT can also be used to determine
38-
the server to check.
37+
Environment vars C<SRC_HOST> and C<SRC_PORT> can also be used to
38+
determine the server to check.
3939
4040
=cut
4141

@@ -64,4 +64,4 @@ Written by Luke Closs <[email protected]>
6464
Copyright (c) 2007 Luke Closs <[email protected]>
6565
6666
This program is free software; you can redistribute it and/or
67-
modify it under the same terms as Perl itself
67+
modify it under the same terms as Perl itself.

0 commit comments

Comments
 (0)