Package-level declarations

Types

Link copied to clipboard
@Serializable
enum CSPViolationType : Enum<CSPViolationType>

CSP Violation type.

Link copied to clipboard

DOM breakpoint type.

Link copied to clipboard

DOM debugging allows setting breakpoints on particular DOM operations and events. JavaScript execution will stop on these operations as if there was a regular breakpoint set.

Link copied to clipboard
@Serializable
data class EventListener(val type: String, val useCapture: Boolean, val passive: Boolean, val once: Boolean, val scriptId: ScriptId, val lineNumber: Int, val columnNumber: Int, val handler: RemoteObject? = null, val originalHandler: RemoteObject? = null, val backendNodeId: BackendNodeId? = null)

Object event listener.

Link copied to clipboard
@Serializable
data class GetEventListenersRequest(val objectId: RemoteObjectId, val depth: Int? = null, val pierce: Boolean? = null)

Request object containing input parameters for the DOMDebuggerDomain.getEventListeners command.

Link copied to clipboard
@Serializable
data class GetEventListenersResponse(val listeners: List<EventListener>)

Response type for the DOMDebuggerDomain.getEventListeners command.

Link copied to clipboard
@Serializable
data class RemoveDOMBreakpointRequest(val nodeId: NodeId, val type: DOMBreakpointType)

Request object containing input parameters for the DOMDebuggerDomain.removeDOMBreakpoint command.

Link copied to clipboard
@Serializable
object RemoveDOMBreakpointResponse

A dummy response object for the DOMDebuggerDomain.removeDOMBreakpoint command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class RemoveEventListenerBreakpointRequest(val eventName: String, val targetName: String? = null)

Request object containing input parameters for the DOMDebuggerDomain.removeEventListenerBreakpoint command.

Link copied to clipboard

A dummy response object for the DOMDebuggerDomain.removeEventListenerBreakpoint command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class RemoveInstrumentationBreakpointRequest(val eventName: String)

Request object containing input parameters for the DOMDebuggerDomain.removeInstrumentationBreakpoint command.

Link copied to clipboard

A dummy response object for the DOMDebuggerDomain.removeInstrumentationBreakpoint command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class RemoveXHRBreakpointRequest(val url: String)

Request object containing input parameters for the DOMDebuggerDomain.removeXHRBreakpoint command.

Link copied to clipboard
@Serializable
object RemoveXHRBreakpointResponse

A dummy response object for the DOMDebuggerDomain.removeXHRBreakpoint command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetBreakOnCSPViolationRequest(val violationTypes: List<CSPViolationType>)

Request object containing input parameters for the DOMDebuggerDomain.setBreakOnCSPViolation command.

Link copied to clipboard
@Serializable
object SetBreakOnCSPViolationResponse

A dummy response object for the DOMDebuggerDomain.setBreakOnCSPViolation command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetDOMBreakpointRequest(val nodeId: NodeId, val type: DOMBreakpointType)

Request object containing input parameters for the DOMDebuggerDomain.setDOMBreakpoint command.

Link copied to clipboard
@Serializable
object SetDOMBreakpointResponse

A dummy response object for the DOMDebuggerDomain.setDOMBreakpoint command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetEventListenerBreakpointRequest(val eventName: String, val targetName: String? = null)

Request object containing input parameters for the DOMDebuggerDomain.setEventListenerBreakpoint command.

Link copied to clipboard

A dummy response object for the DOMDebuggerDomain.setEventListenerBreakpoint command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetInstrumentationBreakpointRequest(val eventName: String)

Request object containing input parameters for the DOMDebuggerDomain.setInstrumentationBreakpoint command.

Link copied to clipboard

A dummy response object for the DOMDebuggerDomain.setInstrumentationBreakpoint command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class SetXHRBreakpointRequest(val url: String)

Request object containing input parameters for the DOMDebuggerDomain.setXHRBreakpoint command.

Link copied to clipboard
@Serializable
object SetXHRBreakpointResponse

A dummy response object for the DOMDebuggerDomain.setXHRBreakpoint command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.