Skip to main content
Version: 17.1.2

ElementHandle.asElement() method

Signature:

class ElementHandle {
asElement(): ElementHandle<ElementType> | null;
}

Returns:

ElementHandle<ElementType> | null