getTagName
Get tag name of a DOM-element.
Usage
$(selector).getTagName()
Examples
<div id="elem">Lorem ipsum</div>
it('should demonstrate the getTagName command', () => {
const elem = $('#elem');
const tagName = elem.getTagName();
console.log(tagName); // outputs: "div"
})