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

detach

suspend fun detach(): Unit

Detaches from this page session, leaving the tab open.

This preserves the underlying web socket connection (of the parent browser session), because it could be used by other page sessions.