| line |
true |
false |
branch |
|
35
|
0 |
0 |
if $options{'host'} eq "localhost"
|
|
65
|
0 |
0 |
if $options{'host'} eq "127.0.0.1"
|
|
71
|
0 |
0 |
unless $printed
|
|
103
|
0 |
0 |
if $self->{'browser'}
|
|
104
|
0 |
0 |
if $self->{'headless'}
|
|
112
|
0 |
0 |
if ($browser)
|
|
115
|
0 |
0 |
if $k eq "name"
|
|
116
|
0 |
0 |
if $options{$k}
|
|
130
|
0 |
0 |
if $self->{'debug'}
|
|
137
|
0 |
0 |
unless "Selenium::Client"->can($sub)
|
|
146
|
0 |
0 |
if Net::EmptyPort::wait_port($self->{'port'}, 1)
|
|
153
|
0 |
0 |
unless eval {
|
|
164
|
0 |
0 |
if (_is_windows())
|
|
170
|
0 |
0 |
unless $self->{'driver_class'} eq "Selenium::Driver::SeleniumHQ::Jar"
|
|
173
|
0 |
0 |
if $self->{'debug'}
|
|
178
|
0 |
0 |
if $self->{'debug'}
|
|
180
|
0 |
0 |
if ($pid)
|
|
189
|
0 |
0 |
if $self->{'debug'}
|
|
190
|
0 |
0 |
unless Net::EmptyPort::wait_port($self->{'port'}, 30)
|
|
192
|
0 |
0 |
if $self->{'debug'}
|
|
197
|
0 |
0 |
unless $self->{'auto_close'}
|
|
202
|
0 |
0 |
unless $self->{'pid'}
|
|
203
|
0 |
0 |
if $self->{'debug'}
|
|
205
|
0 |
0 |
if (_is_windows())
|
|
207
|
0 |
0 |
if $self->{'debug'}
|
|
217
|
0 |
0 |
if $self->{'debug'}
|
|
222
|
0 |
0 |
unless waitpid($self->{'pid'}, 1) == 0
|
|
227
|
0 |
0 |
if $self->{'debug'}
|
|
232
|
0 |
0 |
unless waitpid($self->{'pid'}, 1) == 0
|
|
260
|
0 |
0 |
if grep {$_ eq $method;} @bad_methods
|
|
265
|
0 |
0 |
exists $params{'inject'} ? :
|
|
266
|
0 |
0 |
$inject_key ? :
|
|
268
|
0 |
0 |
if $inject_key and $inject_value
|
|
271
|
0 |
0 |
if exists $params{'sessionid'}
|
|
274
|
0 |
0 |
if $method eq "NewSession" and not %params
|
|
278
|
0 |
0 |
unless exists $params{$param}
|
|
279
|
0 |
0 |
if $url =~ s/{\Q$param\E}/$params{$param}/gu
|
|
282
|
0 |
0 |
if (%params)
|
|
287
|
0 |
0 |
if $self->{'debug'}
|
|
288
|
0 |
0 |
if $self->{'debug'} and exists $options{'content'}
|
|
294
|
0 |
0 |
if ($cb and ref $cb eq "CODE")
|
|
296
|
0 |
0 |
if %params
|
|
298
|
0 |
0 |
if $ret
|
|
300
|
0 |
0 |
if @cbret == 1
|
|
301
|
0 |
0 |
if @cbret
|
|
304
|
0 |
0 |
if $self->{'debug'} and ref $res eq "HASH"
|
|
308
|
0 |
0 |
if $self->{'normalize'}
|
|
311
|
0 |
0 |
if ($self->{'fatal'}) { }
|
|
312
|
0 |
0 |
unless $res->{'success'}
|
|
315
|
0 |
0 |
unless $res->{'success'}
|
|
319
|
0 |
0 |
if (grep {$method eq $_;} @no_process)
|
|
320
|
0 |
0 |
if (ref $decoded_content->{'value'} eq "ARRAY")
|
|
321
|
0 |
0 |
wantarray ? :
|
|
327
|
0 |
0 |
if ($decoded_content->{'sessionId'})
|
|
356
|
0 |
0 |
unless grep {ref $subject eq $_;} "ARRAY", "HASH"
|
|
357
|
0 |
0 |
unless ref $subject eq "ARRAY"
|
|
363
|
0 |
0 |
wantarray ? :
|
|
|
0 |
0 |
if ref $to_objectify ne "HASH"
|
|
376
|
0 |
0 |
$has_class ? :
|
|
381
|
0 |
0 |
if ref $to_push eq "Selenium::Session"
|
|
386
|
0 |
0 |
if @objs == 1
|
|
387
|
0 |
0 |
wantarray ? :
|
|
407
|
0 |
0 |
if $self->{'deleted'}
|