Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
class LifecycleWatcher
import { LifecycleWatcher } from "https://deno.land/x/frugal@0.9.6/dep/puppeteer/mod.ts";

Constructors

new
LifecycleWatcher(
frameManager: FrameManager,
frame: Frame,
timeout: number,
)

Methods

dispose(): void
lifecyclePromise(): Promise<void>
navigationResponse(): Promise<HTTPResponse | null>
newDocumentNavigationPromise(): Promise<Error | undefined>
sameDocumentNavigationPromise(): Promise<Error | undefined>
timeoutOrTerminationPromise(): Promise<Error | TimeoutError | undefined>