GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Jifty::Test::WWW::WebDriver(3) User Contributed Perl Documentation Jifty::Test::WWW::WebDriver(3)

Jifty::Test::WebDriver - Subclass of Test::WebDriver with extra Jifty integration

  use Jifty::Test::WWW::WebDriver;
  my $server  = Jifty::Test->make_server;
  my $sel = Jifty::Test::WWW::WebDriver->rc_ok( $server, lang => 'en_US.UTF-8' );
  my $URL = $server->started_ok;

  $sel->get_ok( $URL ));

Jifty::Test::WWW::WebDriver creates a Test::WebDriver object associated with your jifty application to test. In addition, it starts Selenium server for you, unless it finds a server already running.

You can specify where to look for the Selenium server using environment variables: $TWD_HOST, $TWD_PORT, $TWD_BROWSER. See Test::WebDriver for all the options, and see Selenium::Remote::Driver for their meanings.

You may want to set "TEST_CLASS" to a subclass of Test::WebDriver to refactor methods common to your application.

2013-01-29 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.