getTagNameRetrieves the html tag name of an element.getTagName(elemId)CopyParameters#elemId: The target elementReturns#html tag of the elementExample#tag = getTagName(findElement('sectionOne', by.testId))print(tag) # prints, sectionCopy