Permalink
Browse files

Fixed the example.

  • Loading branch information...
1 parent 55cb936 commit 27164de70368202909bd6b0f8cadbc9c77211854 @kablamo committed May 1, 2012
Showing with 7 additions and 7 deletions.
  1. +7 −7 lib/Test/WWW/Selenium/More/Manual/ForTheImpatient.pod
@@ -19,26 +19,26 @@ selenium server jar file from http://seleniumhq.org/download. Put it anywhere.
use Test::WWW::Selenium::More;
my $s = Test::WWW::Selenium::More->new(
- host => 'localhost',
- port => 80,
- browser_url => "http://www.google.com",
+ host => 'localhost', # selenium server host
+ port => 4444, # selenium server port
+ browser_url => "http://localhost:5000",
);
- $s->open_ok("http://www.google.com");
- $s->title_like(qr/Google Search/);
+ $s->open_ok("/");
+ $s->title_like(qr/Hello world/);
done_testing;
=head1 RUN YOUR SELENIUM TEST
- # Start your web server on localhost, port 80
+ # Start your web server on localhost, port 5000
...
# Start the Selenium server
java -jar selenium-server.jar -port 4444 -trustAllSSLCertificates -browserSessionReuse
- # Run your tests against localhost, port 80
+ # Run your tests against localhost, port 5000
prove -lrv t/test.t

0 comments on commit 27164de

Please sign in to comment.