Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Page.Frame
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { Frame } = default.Page;

Information about the Frame on the page.

Properties

Frame unique identifier.

optional
parentId: string

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
adFrameType: AdFrameType

Indicates whether this frame was tagged as an ad.

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.