1
- Test-WWW-Selenium is a perl driver and test library for Selenium Remote
1
+
2
+ [ ![ Build Status] ( https://travis-ci.org/mrcaron/cpan-selenium-rc-perl.svg?branch=master )] ( https://travis-ci.org/mrcaron/cpan-selenium-rc-perl )
3
+
4
+ # Overview
5
+
6
+ * Test-WWW-Selenium* is a perl driver and test library for Selenium Remote
2
7
Control (SRC). You will need to setup a Selenium Server that can launch
3
8
browsers.
4
9
5
- Selenium Remote Control (SRC) is a test tool that allows you to write
10
+ * Selenium Remote Control (SRC)* is a test tool that allows you to write
6
11
automated web application UI tests in any programming language against
7
12
any HTTP website using any mainstream JavaScript-enabled browser. SRC
8
13
provides a Selenium Server, which can automatically start/stop/control
@@ -15,24 +20,27 @@ This module sends commands directly to the Server using simple HTTP
15
20
GET/POST requests. Using this module together with the Selenium
16
21
Server, you can automatically control any supported browser.
17
22
23
+ # Prereqs
24
+
18
25
To use this module, you need to have already downloaded and started the
19
26
Selenium Server. (The Selenium Server is a Java application.)
20
27
21
28
The Selenium Server is available here:
22
29
23
- http://www.openqa .org/selenium-rc /
30
+ http://www.seleniumhq .org/download /
24
31
25
32
or on CPAN in the Alien-SeleniumRC package:
26
33
27
34
http://search.cpan.org/dist/Alien-SeleniumRC
28
35
29
- To install:
36
+ # Installation
30
37
31
38
perl Makefile.PL
32
39
make
33
40
make test
34
41
make install
35
42
43
+ # Usage
36
44
Once installed, your test script will look something like this:
37
45
38
46
#!/usr/bin/perl
@@ -50,6 +58,7 @@ Once installed, your test script will look something like this:
50
58
$sel->text_is('todays_awesomeness', '100');
51
59
$sel->text_like('status', qr/returned 42 results/);
52
60
61
+ # Fineprint
53
62
54
63
Copyright (c) 2006 Luke Closs
< [email protected] > .
55
64
Copyright (c) 2006 Dan Fabulitch
< [email protected] > .
@@ -64,4 +73,3 @@ it under the Apache License, Version 2.0.
64
73
65
74
This package is free software; you can redistribute it and/or
66
75
modify it under the same terms as Perl itself.
67
-
0 commit comments