chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.target / TargetDomain / exposeDevToolsProtocol

exposeDevToolsProtocol

suspend fun exposeDevToolsProtocol(input: ExposeDevToolsProtocolRequest): Unit

Inject object to the target's main frame that provides a communication channel with browser target.

Injected object will be available as window[bindingName].

The object has the follwing API: