Get Tag
element.getTag()
Retrieve the HTML tag of the element.
Syntax
Returns
- Promise<String> : If the element has a tag, a promise that resolves to the tag value.
- Promise<
null
>: If the element does not have a tag, a promise that resolves tonull
Example
Designer Ability
Checks for authorization only