pl.wendigo.chrome.api.page / Frame

Frame

data class Frame (source)

Information about the Frame on the page.

Link
Page#Frame type documentation.

Constructors

<init>

Frame(id: FrameId, parentId: String? = null, loaderId: LoaderId, name: String? = null, url: String, urlFragment: String? = null, securityOrigin: String, mimeType: String, unreachableUrl: String? = null)

Information about the Frame on the page.

Properties

id

val id: FrameId

Frame unique identifier.

loaderId

val loaderId: LoaderId

Identifier of the loader associated with this frame.

mimeType

val mimeType: String

Frame document's mimeType as determined by the browser.

name

val name: String?

Frame's name as specified in the tag.

parentId

val parentId: String?

Parent frame identifier.

securityOrigin

val securityOrigin: String

Frame document's security origin.

unreachableUrl

val 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.

url

val url: String

Frame document's URL without fragment.

urlFragment

val urlFragment: String?

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