Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method JSHandle.prototype.asElement
Re-export
import { JSHandle } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";

Returns

Either null or the object handle itself, if the object handle is an instance of ElementHandle.