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 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.