Latest
method JSHandle.prototype.asElement
import { JSHandle } from "https://dotland.deno.dev/x/puppeteer@16.2.0/vendor/puppeteer-core/puppeteer/types.d.ts";

Returns

ElementHandle<any> | null

Either null or the handle itself if the handle is an instance of {@link ElementHandle}.