Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method Frame.prototype.$
import { Frame } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/common/FrameManager.d.ts";

This method queries the frame for the given selector.

Type Parameters

optional
T extends any = any

Parameters

selector: string
  • a selector to query for.

Returns

Promise<ElementHandle<T> | null>

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