import { LifecycleWatcher } from "https://deno.land/x/pptr@1.2.0/mod.ts";
Constructors
new
LifecycleWatcher(frameManager: FrameManager,
frame: Frame,
waitUntil: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[],
timeout: number,
Properties
_eventListeners: PuppeteerEventListener[]
_frame: Frame
_frameManager: FrameManager
_timeoutPromise: Promise<TimeoutError | null>
Methods
_checkLifecycleComplete(): void
_createTimeoutPromise(): Promise<TimeoutError | null>
_onFrameDetached(frame: Frame): void
_onRequest(request: HTTPRequest): void
_terminate(error: Error): void
dispose(): void
lifecyclePromise(): Promise<void>
timeoutOrTerminationPromise(): Promise<Error | TimeoutError | null>