Skip to main content
Module

x/puppeteer/mod.ts>WaitForSelectorOptions

A port of puppeteer running on Deno
Latest
interface WaitForSelectorOptions
Re-export
import { type WaitForSelectorOptions } from "https://deno.land/x/puppeteer@16.2.0/mod.ts";

Properties

optional
visible: boolean

Wait for the selected element to be present in DOM and to be visible, i.e. to not have display: none or visibility: hidden CSS properties.

optional
hidden: boolean

Wait for the selected element to not be found in the DOM or to be hidden, i.e. have display: none or visibility: hidden CSS properties.

optional
timeout: number

Maximum time to wait in milliseconds. Pass 0 to disable timeout.

The default value can be changed by using Page.setDefaultTimeout

optional
deprecated
root: ElementHandle<any>