Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface default.Page.Frame
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { Frame } = default.Page;

Information about the Frame on the page.

Properties

Frame unique identifier.

optional
parentId: FrameId

Parent frame identifier.

Identifier of the loader associated with this frame.

optional
name: string

Frame's name as specified in the tag.

url: string

Frame document's URL without fragment.

optional
urlFragment: string

Frame document's URL fragment including the '#'.

domainAndRegistry: string

Frame document's registered domain, taking the public suffixes list into account. Extracted from the Frame's url. Example URLs: http://www.google.com/file.html -> "google.com" http://a.b.co.uk/file.html -> "b.co.uk"

securityOrigin: string

Frame document's security origin.

mimeType: string

Frame document's mimeType as determined by the browser.

optional
unreachableUrl: string

If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment.

optional
adFrameStatus: AdFrameStatus

Indicates whether this frame was tagged as an ad and why.

secureContextType: SecureContextType

Indicates whether the main document is a secure context and explains why that is the case.

crossOriginIsolatedContextType: CrossOriginIsolatedContextType

Indicates whether this is a cross origin isolated context.

gatedAPIFeatures: GatedAPIFeatures[]

Indicated which gated APIs / features are available.