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::Selenium(3) User Contributed Perl Documentation Jifty::Test::WWW::Selenium(3)

Jifty::Test::WWW::Selenium - Subclass of Test::WWW::Selenium with extra Jifty integration

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

  $sel->open_ok('/');

Jifty::Test::WWW::Selenium creates a Test::WWW::Selenium object associated with your jifty application to test. In addition, it starts selenium remote control for you, unless "SELENIUM_RC_SERVER" is specified when the test is run. You might also want to set "SELENIUM_RC_TEST_AGAINST" to your local IP address so "SELENIUM_RC_SERVER" can test against you. "SELENIUM_RC_BROWSER" tells the rc server what browser to run the tests with. You may want to set "SELENIUM_CLASS" to a subclass of Test::WWW::Selenium to refactor methods common to your application.

When the selenium rc server is started by Jifty::Test::WWW::Selenium, the browser's language is default to en_US, unless you pass "lang" param to rc_ok.
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.