| line |
true |
false |
branch |
|
28
|
0 |
0 |
if defined $value
|
|
85
|
0 |
0 |
unless ref $handler eq "CODE"
|
|
99
|
0 |
0 |
$ac ? :
|
|
109
|
0 |
0 |
$js ? :
|
|
113
|
0 |
0 |
$ssl ? :
|
|
117
|
0 |
0 |
if ($proxy)
|
|
118
|
0 |
0 |
unless ref $proxy eq "HASH"
|
|
119
|
0 |
0 |
if ($proxy->{'proxyType'} =~ /^pac$/i)
|
|
120
|
0 |
0 |
if (not defined $proxy->{'proxyAutoconfigUrl'}) { }
|
|
|
0 |
0 |
elsif (not $proxy->{'proxyAutoconfigUrl'} =~ /^(http|file)/g) { }
|
|
127
|
0 |
0 |
if ($proxy->{'proxyAutoconfigUrl'} =~ /^file/)
|
|
132
|
0 |
0 |
unless (-e $file)
|
|
155
|
0 |
0 |
if ($profile)
|
|
156
|
0 |
0 |
unless (builtin::blessed($profile) and $profile->isa("Selenium::Firefox::Profile"))
|
|
172
|
0 |
0 |
if (ref $size eq "ARRAY")
|
|
173
|
0 |
0 |
unless scalar @$size == 2
|
|
177
|
0 |
0 |
unless &Scalar::Util::looks_like_number($dim)
|
|
245
|
0 |
0 |
unless ($driver)
|
|
249
|
0 |
0 |
unless (exists $optmap{$option})
|
|
263
|
0 |
0 |
unless $status->{'ready'}
|
|
265
|
0 |
0 |
unless ($self->session)
|
|
266
|
0 |
0 |
if ($self->desired_capabilities) { }
|
|
275
|
0 |
0 |
unless (defined $self->session)
|
|
279
|
0 |
0 |
if ($self->inner_window_size)
|
|
285
|
0 |
0 |
if $self->debug
|
|
291
|
0 |
0 |
unless (exists $args{'desired_capabilities'})
|
|
305
|
0 |
0 |
if $self->{'debug'}
|
|
309
|
0 |
0 |
unless grep {$key eq $_;} "command", "sessionid", "elementid"
|
|
312
|
0 |
0 |
$self->commands->needs_driver($res->{'command'}) ? :
|
|
313
|
0 |
0 |
$self->commands->needs_scd($res->{'command'}) ? :
|
|
314
|
0 |
0 |
unless $macguffin
|
|
321
|
0 |
0 |
unless (eval {
|
|
322
|
0 |
0 |
if $self->error_handler
|
|
343
|
0 |
0 |
if (defined $self->proxy)
|
|
347
|
0 |
0 |
if ($caps->{'browserName'} and $caps->{'browserName'} =~ /firefox/i and $self->firefox_profile)
|