Skip to main content
Go to Latest
class FrameManager
extends EventEmitter
Re-export
import { FrameManager } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";

Constructors

new
FrameManager(
client: CDPSession,
page: Page,
ignoreHTTPSErrors: boolean,
timeoutSettings: TimeoutSettings,
)

Properties

private
_contextIdToContext
private
_frames
private
_isolatedWorlds
private
_mainFrame
private
_networkManager
private
_onAttachedToTarget
private
_onDetachedFromTarget
private
_onExecutionContextDestroyed
private
_onExecutionContextsCleared
private
_page
private
_removeFramesRecursively
private
setupEventListeners
_client: CDPSession
_timeoutSettings: TimeoutSettings

Methods

_ensureIsolatedWorld(session: CDPSession, name: string): Promise<void>
_onFrameAttached(
session: CDPSession,
frameId: string,
parentFrameId?: string,
): void
_onFrameNavigatedWithinDocument(frameId: string, url: string): void
_onFrameStartedLoading(frameId: string): void
_onFrameStoppedLoading(frameId: string): void
executionContextById(contextId: number, session?: CDPSession): ExecutionContext
frame(frameId: string): Frame | null
initialize(client?: CDPSession): Promise<void>
navigateFrame(
frame: Frame,
url: string,
options?: { referer?: string; timeout?: number; waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[]; },
): Promise<HTTPResponse | null>
waitForFrameNavigation(frame: Frame, options?: { timeout?: number; waitUntil?: PuppeteerLifeCycleEvent | PuppeteerLifeCycleEvent[]; }): Promise<HTTPResponse | null>