mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
replace debug code
This commit is contained in:
parent
add69ef8a2
commit
a9fd240122
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ class Capybara::Selenium::Node < Capybara::Driver::Node
|
|||
|
||||
def tag_name
|
||||
@tag_name ||=
|
||||
if native.respond_to? :tag_name || true
|
||||
if native.respond_to? :tag_name
|
||||
native.tag_name.downcase
|
||||
else
|
||||
native.is_a?(::Selenium::WebDriver::ShadowRoot) ? 'ShadowRoot' : 'Unknown'
|
||||
|
|
Loading…
Add table
Reference in a new issue