@@ -12,7 +12,7 @@ Test::WWW::Selenium - Test applications using Selenium Remote Control
12
12
13
13
=head1 SYNOPSIS
14
14
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
16
16
convenient testing functions.
17
17
18
18
use Test::More tests => 5;
@@ -27,7 +27,7 @@ convenient testing functions.
27
27
);
28
28
29
29
# 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" );
31
31
$sel->type_ok( "q", "hello world");
32
32
$sel->click_ok("btnG");
33
33
$sel->wait_for_page_to_load_ok(5000);
@@ -40,23 +40,23 @@ Selenium Server. (The Selenium Server is a Java application.)
40
40
41
41
=head1 DESCRIPTION
42
42
43
- This module is a C <WWW::Selenium > subclass providing some methods
43
+ This module is a L <WWW::Selenium> subclass providing some methods
44
44
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
46
46
checks the return value (open_ok, click_ok, type_ok).
47
47
48
48
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.
51
51
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
53
53
tests will be given a reasonable name should you choose not to provide
54
54
one of your own.
55
55
56
56
=head1 ADDITIONAL METHODS
57
57
58
58
Test::WWW::Selenium also provides some other handy testing functions
59
- that wrap WWW::Selenium commands:
59
+ that wrap L< WWW::Selenium> commands:
60
60
61
61
=over 4
62
62
195
195
=head1 LICENSE
196
196
197
197
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] >
199
199
200
200
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.
0 commit comments