Frame

@Serializable
data class Frame(val id: String, val parentId: String? = null, val loaderId: String, val name: String? = null, val url: String, val urlFragment: String? = null, val domainAndRegistry: String, val securityOrigin: String, val securityOriginDetails: Page.SecurityOriginDetails? = null, val mimeType: String, val unreachableUrl: String? = null, val adFrameStatus: Page.AdFrameStatus? = null, val secureContextType: Page.SecureContextType, val crossOriginIsolatedContextType: Page.CrossOriginIsolatedContextType, val gatedAPIFeatures: List<Page.GatedAPIFeatures>)

Information about the Frame on the page.

Constructors

Link copied to clipboard
constructor(id: String, parentId: String? = null, loaderId: String, name: String? = null, url: String, urlFragment: String? = null, domainAndRegistry: String, securityOrigin: String, securityOriginDetails: Page.SecurityOriginDetails? = null, mimeType: String, unreachableUrl: String? = null, adFrameStatus: Page.AdFrameStatus? = null, secureContextType: Page.SecureContextType, crossOriginIsolatedContextType: Page.CrossOriginIsolatedContextType, gatedAPIFeatures: List<Page.GatedAPIFeatures>)

Properties

Link copied to clipboard

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

Link copied to clipboard

Indicates whether this is a cross origin isolated context.

Link copied to clipboard

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"

Link copied to clipboard

Indicated which gated APIs / features are available.

Link copied to clipboard
val id: String

Frame unique identifier.

Link copied to clipboard

Identifier of the loader associated with this frame.

Link copied to clipboard

Frame document's mimeType as determined by the browser.

Link copied to clipboard
val name: String? = null

Frame's name as specified in the tag.

Link copied to clipboard
val parentId: String? = null

Parent frame identifier.

Link copied to clipboard

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

Link copied to clipboard

Frame document's security origin.

Link copied to clipboard

Additional details about the frame document's security origin.

Link copied to clipboard
val unreachableUrl: String? = null

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.

Link copied to clipboard
val url: String

Frame document's URL without fragment.

Link copied to clipboard
val urlFragment: String? = null

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