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

Returns

ElementHandle<any> | null

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