chrome-devtools-kotlin / org.hildan.chrome.devtools.targets / ChromePageSession

ChromePageSession

class ChromePageSession : AbstractTargetSession, RenderFrameTarget

A page session, usually created when attaching to a page from the root browser session.

Properties

parent

val parent: ChromeBrowserSession

targetInfo

val targetInfo: TargetInfo

Extension Functions

use

Performs the given operation in this session and closes the connection.

suspend fun <T, S : AbstractTargetSession> S.use(block: (S) -> T): T