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

x/pptr/src/JSHandle.ts>ElementHandle#$

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

Runs element.querySelector within the page. If no element matches the selector, the return value resolves to null.

Parameters

selector: string

Returns

Promise<ElementHandle | null>