Get Div Block element tag
element.getTag()
Retrieve the element tag of a Div Block element.
Syntax
Returns
Promise<null | BlockElementTag>
A Promise that resolves to one of the following:
BlockElementTag: The Block element tag, includingdiv,header,footer,nav,main,section,article,aside,address, orfigurenull: If the element is not found or the Block element tag is not set