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

x/pptr/mod.ts>Page#waitForSelector

Headless Chrome Deno API
Latest
method Page.prototype.waitForSelector
Re-export
import { Page } from "https://deno.land/x/pptr@1.2.0/mod.ts";

Parameters

selector: string
optional
options: { visible?: boolean; hidden?: boolean; timeout?: number; } = [UNSUPPORTED]

Returns

Promise<ElementHandle | null>