Test/Selenium/Firefox.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 10 / 10 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« Selenium/Remote/WDKeys.pm ↑ Summary Test/Selenium/PhantomJS.pm »
1 package Test::Selenium::Firefox;
2 2 $Test::Selenium::Firefox::VERSION = '1.49';
3 2 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 extends 'Selenium::Firefox', 'Test::Selenium::Remote::Driver';
5  
6 has 'webelement_class' => (
7 is => 'rw',
8 1 ▶ default => sub { 'Test::Selenium::Remote::WebElement' },
Subroutine __ANON__: called CC=1 SCAR=0.0
9 2 );
10  
11 2 1;
12  
13 __END__
14  
15 =head1 NAME
16  
17 Test::Selenium::Firefox
18  
19 =head1 SYNOPSIS
20  
21 my $test_driver = Test::Selenium::Firefox->new;
22 $test_driver->get_ok('https://duckduckgo.com', "Firefox can load page");
23 $test_driver->quit();
24  
25 =head1 DESCRIPTION
26  
27 A subclass of L<Selenium::Firefox> which provides useful testing functions. Please see L<Selenium::Firefox> and L<Test::Selenium::Remote::Driver> for usage information.
28  
« Selenium/Remote/WDKeys.pm ↑ Summary Test/Selenium/PhantomJS.pm »