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