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

x/pptr/src/DOMWorld.ts>WaitTask

Headless Chrome Deno API
Latest
class WaitTask
import { WaitTask } from "https://deno.land/x/pptr@1.2.0/src/DOMWorld.ts";

Constructors

new
WaitTask(options: WaitTaskOptions)

Properties

_binding: PageBinding
_domWorld: DOMWorld
_polling: string | number
_predicateBody: string
_reject: (x: Error) => void
_resolve: (x: JSHandle) => void
_runCount: number
_terminated: boolean
_timeout: number
optional
_timeoutTimer: number
promise: Promise<JSHandle>

Methods

_cleanup(): void
rerun(): Promise<void>
terminate(error: Error): void