| line |
true |
false |
branch |
|
78
|
0 |
0 |
$active && $el ? : |
|
85
|
0 |
0 |
$path ? : |
|
95
|
0 |
0 |
$selector ? : |
|
98
|
0 |
0 |
if ($el) |
|
99
|
0 |
0 |
unless $el->is_displayed |
|
101
|
0 |
0 |
if $el->click |
|
145
|
0 |
0 |
ref $method ? : |
|
146
|
0 |
0 |
unless $self->tx |
|
210
|
2 |
1 |
if $self->{'live_port'} |
|
213
|
0 |
3 |
if ($self->tx) { } |
|
216
|
0 |
0 |
if $err and $err->{'message'} |
|
228
|
1 |
12 |
if $ENV{'MOJO_SELENIUM_BASE_URL'} |
|
229
|
9 |
3 |
unless my $app = shift() |
|
230
|
1 |
2 |
@_ ? : |
|
231
|
0 |
3 |
ref $app ? : |
|
238
|
0 |
0 |
$selector ? : |
|
241
|
0 |
0 |
ref $keys ? : |
|
|
0 |
0 |
unless ref $keys eq 'ARRAY' |
|
244
|
0 |
0 |
ref $_ ? : |
|
245
|
0 |
0 |
ref $_ ? : |
|
|
0 |
0 |
unless defined $key |
|
249
|
0 |
0 |
if ($el) |
|
256
|
0 |
0 |
unless (eval {
do {
foreach my $key (@$keys) {
'???';
$el->send_keys($key);
};
1
}
}) |
|
277
|
5 |
2 |
unless $ENV{'TEST_SELENIUM'} and eval {
do {
$self->driver
}
} |
|
279
|
1 |
3 |
if $ENV{'TEST_SELENIUM'} =~ /^http/ |
|
287
|
0 |
0 |
if $el |
|
295
|
0 |
0 |
if ($el) |
|
296
|
0 |
0 |
if ($el->is_displayed) { } |
|
314
|
0 |
0 |
ref $_[0] eq 'HASH' ? : |
|
318
|
0 |
0 |
if (&Scalar::Util::looks_like_number($sel)) |
|
324
|
0 |
0 |
if $sel =~ s/:visible\b// |
|
325
|
0 |
0 |
if $sel =~ s/:enabled\b// |
|
326
|
0 |
0 |
if $sel =~ s/:hidden\b// |
|
327
|
0 |
0 |
if $sel =~ s/:selected\b// |
|
357
|
4 |
21 |
if $err or eval {
do {
local $_ = $self->driver;
$self->$cb($args)
}
} |
|
358
|
2 |
0 |
if $@ and $args->{'debug'} || 0 |
|
367
|
0 |
4 |
if $args->{'skip'} |
|
383
|
0 |
0 |
unless ref $selector |
|
386
|
0 |
0 |
unless ref $selector |
|
393
|
3 |
0 |
unless ($url->is_abs) |
|
411
|
0 |
0 |
$el ? : |
|
439
|
0 |
0 |
if ($ua->ioloop->is_running) { } |