class FrameManager
extends EventEmitter
Re-export
import { FrameManager } from "https://deno.land/x/pptr@1.2.0/mod.ts";
Constructors
Properties
private
_contextIdToContext: Map<number, ExecutionContext>private
_frames: Map<string, Frame>private
_mainFrame: Frame | nullprivate
_networkManager: NetworkManagerprivate
_page: Page_client: CDPSession
_timeoutSettings: TimeoutSettings
Methods
private
_onExecutionContextDestroyed(executionContextId: number): voidprivate
_onExecutionContextsCleared(): voidprivate
_onFrameMoved(event: Protocol.Target.AttachedToTargetEvent)private
_removeFramesRecursively(frame: Frame): void_ensureIsolatedWorld(name: string): Promise<void>
_handleFrameTree(frameTree: Protocol.Page.FrameTree): void
_onExecutionContextCreated(contextPayload: Protocol.Runtime.ExecutionContextDescription): void
_onFrameAttached(frameId: string, parentFrameId?: string): void
_onFrameDetached(frameId: string): void
_onFrameStoppedLoading(frameId: string): void
_onLifecycleEvent(event: Protocol.Page.LifecycleEventEvent): void
executionContextById(contextId: number): ExecutionContext
initialize(): Promise<void>