Package-level declarations

Types

Link copied to clipboard
open class DefaultTab(websocketUrl: String, messageListeningScope: CoroutineScope, eventsBufferSize: Int, var targetInfo: Target.TargetInfo, var owner: Browser? = null) : DefaultConnection, Tab

Represents a browser tab, which is a connection to a specific target in the browser.

Link copied to clipboard
@Serializable
enum ReadyState : Enum<ReadyState>

Represents the ready state of a document in a web browser.

Link copied to clipboard
Link copied to clipboard
interface Tab : Connection

Represents a browser tab, which is a connection to a specific target in the browser.

Functions

Link copied to clipboard
inline suspend fun <T> Tab.evaluate(expression: String, awaitPromise: Boolean = false): T?

Evaluates a JavaScript expression in the context of the tab.