Frame

interface Frame

A frame within the page. The main frame is always present.

Properties

Link copied to clipboard
abstract val isMain: Boolean

True for the top-level document; false for an iframe.

Link copied to clipboard
abstract val url: String

This frame's current URL.

Functions

Link copied to clipboard
abstract suspend fun content(): String

This frame's serialised HTML.

Link copied to clipboard
abstract suspend fun evaluate(expression: String): String?

Evaluates an expression in this frame's context and returns its value.

Link copied to clipboard
abstract suspend fun text(): String

The rendered text of this frame's document.