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