Test/Selenium/Chrome.pm

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