line |
true |
false |
branch |
83
|
1 |
1 |
if $spec_parsed |
86
|
1 |
58 |
unless $line |
138
|
0 |
8 |
unless (defined $args->{'session_id'}) |
143
|
0 |
8 |
unless $self->get_cmds->{$args->{'command'}} |
164
|
8 |
0 |
if ($args->{'type'}) |
166
|
1 |
7 |
if $data->{'url'} =~ /timeouts$/ and $args->{'type'} eq "page load" |
168
|
1 |
7 |
if $data->{'url'} =~ /timeouts$/ and $args->{'type'} eq "script" |
170
|
1 |
7 |
if $data->{'url'} =~ /timeouts$/ and $args->{'type'} eq "implicit" |
177
|
8 |
0 |
if ($args->{'using'} and $args->{'value'}) |
179
|
8 |
0 |
if grep {$args->{'using'} eq $_;} "id", "class name", "name" |
181
|
6 |
2 |
if $args->{'using'} eq "id" |
183
|
1 |
7 |
if $args->{'using'} eq "class name" |
185
|
1 |
7 |
if $args->{'using'} eq "name" |
187
|
1 |
7 |
if ($data->{'url'} =~ s[timeouts/async_script$][timeouts]g) |
191
|
4 |
4 |
if ($data->{'url'} =~ s[timeouts/implicit_wait$][timeouts]g) |
197
|
5 |
3 |
if $args->{'text'} and $args->{'command'} ne "sendKeysToElement" |
199
|
8 |
0 |
if grep {$args->{'command'} eq $_;} "fullscreenWindow", "minimizeWindow", "maximizeWindow" |
207
|
2 |
0 |
if (ref $resp eq "HASH") |
208
|
1 |
1 |
if ($resp->{'cmd_status'} and $resp->{'cmd_status'} eq "OK") |
212
|
1 |
0 |
if (ref $resp->{'cmd_return'} eq 'HASH') { } |
214
|
1 |
0 |
if $resp->{'cmd_return'}{'error'} |
216
|
1 |
0 |
if $resp->{'cmd_return'}{'message'} |
235
|
0 |
0 |
unless &any(sub {
$_ eq $key;
}
, keys %$v3_spec) |
239
|
0 |
0 |
unless &any(sub {
$_ eq $key;
}
, keys %$v2_spec) |