Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>ElementHandle#contentFrame

Headless Chrome Deno API
Latest
method ElementHandle.prototype.contentFrame
Re-export
import { ElementHandle } from "https://deno.land/x/pptr@1.2.0/mod.ts";

Resolves to the content frame for element handles referencing iframe nodes, or null otherwise

Returns

Promise<Frame | null>