mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
567 B
567 B
Home > puppeteer > JSHandle > asElement
JSHandle.asElement() method
Returns either null
or the object handle itself, if the object handle is an instance of ElementHandle.
Signature:
asElement(): ElementHandle | null;
Returns:
ElementHandle | null