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

x/pptr/mod.ts>Frame#$$

Headless Chrome Deno API
Latest
method Frame.prototype.$$
Re-export
import { Frame } from "https://deno.land/x/pptr@1.2.0/mod.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.