Branch Coverage

blib/lib/Selenium/Remote/WebElement.pm
Criterion Covered Total %
branch 11 48 22.9


line true false branch
87 0 1 if ($self->driver->{'is_wd3'} and not grep({$self->driver->browser_name eq $_;} "MicrosoftEdge"))
94 0 0 if ($self->get_tag_name ne 'form') { }
112 0 3 unless scalar @strings >= 1
132 0 4 $self->get_tag_name eq 'option' ? :
135 0 4 if $self->driver->{'is_wd3'} and not grep({$self->driver->browser_name eq $_;} "chrome", "MicrosoftEdge")
144 0 0 if ($self->driver->{'is_wd3'})
145 0 0 if $self->is_selected
155 0 1 if ($self->driver->{'is_wd3'})
156 0 0 unless $self->is_selected
169 0 2 if ($self->driver->{'is_wd3'} and not grep({$self->driver->browser_name eq $_;} "chrome", "MicrosoftEdge"))
176 0 0 if $self->get_tag_name ne "input"
177 0 0 $self->get_property('disabled') ? :
186 0 1 if ($self->driver->{'is_wd3'} and not grep({$self->driver->browser_name eq $_;} "chrome", "MicrosoftEdge"))
205 0 1 if ($self->driver->{'is_wd3'} and not grep({$self->driver->browser_name eq $_;} "chrome", "MicrosoftEdge"))
243 0 0 if $self->driver->{'is_wd3'} and grep {$self->driver->browser_name eq $_;} "firefox", "internet explorer", "chrome"
266 0 17 unless (defined $attr_name)
271 17 0 unless $self->{'driver'}{'emulate_jsonwire'}
275 0 0 if $self->driver->{'is_wd3'} and not grep({$self->driver->browser_name eq $_;} "chrome", "MicrosoftEdge") and not $no_i_really_mean_it
292 0 0 if $self->driver->{'is_wd3'} and grep {$self->driver->browser_name eq $_;} "chrome", "MicrosoftEdge"
308 0 6 if ($self->driver->{'is_wd3'} and not grep({$self->driver->browser_name eq $_;} "chrome", "MicrosoftEdge"))
315 0 0 if $self->get_tag_name eq "input" and $self->get_property("type") eq "hidden"
318 0 0 unless $self->_is_in_viewport
364 0 0 unless (defined $attr_name)
394 0 0 unless $filename