expose Dev Tools Protocol
fun exposeDevToolsProtocol(input: ExposeDevToolsProtocolRequest): Single<RequestResponseFrame>
Content copied to clipboard
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:
binding.send(json)
- a method to send messages over the remote debugging protocolbinding.onmessage = json => handleMessage(json)
- a callback that will be called for the protocol notifications and command responses.
Sources
jvm source
Link copied to clipboard