Home > puppeteer > JSHandle > asElement
Returns either null
or the object handle itself, if the object handle is an instance of ElementHandle.
Signature:
asElement(): ElementHandle | null;
Returns:
ElementHandle | null
Home > puppeteer > JSHandle > asElement
Returns either null
or the object handle itself, if the object handle is an instance of ElementHandle.
Signature:
asElement(): ElementHandle | null;
Returns:
ElementHandle | null