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 method queries the frame for the given selector.

Parameters

selector: string
  • a selector to query for.

Returns

Promise<ElementHandle | null>

A promise which resolves to an ElementHandle pointing at the element, or null if it was not found.