chrome-devtools-kotlin / org.hildan.chrome.devtools.protocol / attachTo

attachTo

suspend fun ChromeBrowserSession.attachTo(targetId: TargetID, browserContextID: BrowserContextID? = null): ChromeTargetSession

Creates a new ChromeTargetSession attached to the target with the given targetId. The new session shares the same underlying web socket connection as this ChromeBrowserSession.