pl.wendigo.chrome.api.target / ExposeDevToolsProtocolRequest

ExposeDevToolsProtocolRequest

data class ExposeDevToolsProtocolRequest (source)

Represents request frame that can be used with Target#exposeDevToolsProtocol operation call.

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:

Link
Target#exposeDevToolsProtocol method documentation.

See Also

TargetOperations.exposeDevToolsProtocol

Constructors

<init>

ExposeDevToolsProtocolRequest(targetId: TargetID, bindingName: String? = null)

Represents request frame that can be used with Target#exposeDevToolsProtocol operation call.

Properties

bindingName

val bindingName: String?

Binding name, 'cdp' if not specified.

targetId

val targetId: TargetID