JSHandle.asElement() method
Signature:
class JSHandle {
asElement(): ElementHandle<Node> | null;
}
Returns:
ElementHandle<Node> | null
Either null
or the object handle itself, if the object handle is an instance of ElementHandle.
Signature:
class JSHandle {
asElement(): ElementHandle<Node> | null;
}
Returns:
ElementHandle<Node> | null
Either null
or the object handle itself, if the object handle is an instance of ElementHandle.