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

x/pptr/src/FrameManager.ts>Frame#$$

Headless Chrome Deno API
Latest
method Frame.prototype.$$
import { Frame } from "https://deno.land/x/pptr@1.2.0/src/FrameManager.ts";

This runs document.querySelectorAll in the frame and returns the result.

Parameters

selector: string
  • a selector to search for

Returns

Promise<ElementHandle[]>

An array of element handles pointing to the found frame elements.