Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sinco/deps.ts>Protocol.Page.Frame

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.Page.Frame
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.ts";
const { Frame } = Protocol.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.