title: Watir: how to find iframe's tag?
body: <p>I have an element, for example <code>#&lt;Watir::IFrame:0x..f98fef949215c673e located=false selector={:element=&gt;(webdriver element)}&gt;</code>. How do I determine what tag it is (iframe)?</p>
  
  <p>Found it by searching for similar Javascript method: there exists <code>element.tag_name</code>, but when using it for <strong>iframe</strong> I get <code>NoMethodError: private method 'tag_name' called for #&lt;Watir::IFrame:0x00000002f8c288&gt;'</code>. </p>
  
  <p>What does it mean and is there some alternative to <code>.tag_name</code> for <strong>iframes</strong>?</p>