DOMDebugger Domain
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.
Functions
Link copied to clipboard
inline suspend fun getEventListeners(objectId: RemoteObjectId, optionalArgs: GetEventListenersRequest.Builder.() -> Unit = {}): GetEventListenersResponse
Returns event listeners of the given object.
Link copied to clipboard
suspend fun removeDOMBreakpoint(nodeId: NodeId, type: DOMBreakpointType): RemoveDOMBreakpointResponse
Removes DOM breakpoint that was set using setDOMBreakpoint.
Link copied to clipboard
suspend fun removeEventListenerBreakpoint(input: RemoveEventListenerBreakpointRequest): RemoveEventListenerBreakpointResponse
inline suspend fun removeEventListenerBreakpoint(eventName: String, optionalArgs: RemoveEventListenerBreakpointRequest.Builder.() -> Unit = {}): RemoveEventListenerBreakpointResponse
Removes breakpoint on particular DOM event.
Link copied to clipboard
suspend fun removeInstrumentationBreakpoint(eventName: String): RemoveInstrumentationBreakpointResponse
suspend fun removeInstrumentationBreakpoint(input: RemoveInstrumentationBreakpointRequest): RemoveInstrumentationBreakpointResponse
Removes breakpoint on particular native event.
Link copied to clipboard
Removes breakpoint from XMLHttpRequest.
Link copied to clipboard
suspend fun setBreakOnCSPViolation(violationTypes: List<CSPViolationType>): SetBreakOnCSPViolationResponse
suspend fun setBreakOnCSPViolation(input: SetBreakOnCSPViolationRequest): SetBreakOnCSPViolationResponse
Sets breakpoint on particular CSP violations.
Link copied to clipboard
Sets breakpoint on particular operation with DOM.
Link copied to clipboard
suspend fun setEventListenerBreakpoint(input: SetEventListenerBreakpointRequest): SetEventListenerBreakpointResponse
inline suspend fun setEventListenerBreakpoint(eventName: String, optionalArgs: SetEventListenerBreakpointRequest.Builder.() -> Unit = {}): SetEventListenerBreakpointResponse
Sets breakpoint on particular DOM event.
Link copied to clipboard
suspend fun setInstrumentationBreakpoint(input: SetInstrumentationBreakpointRequest): SetInstrumentationBreakpointResponse
Sets breakpoint on particular native event.
Link copied to clipboard
Sets breakpoint on XMLHttpRequest.