Chrome Remote Interface v0.0.4 ChromeRemoteInterface.RPC.DOMDebugger View Source

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 to this section Summary

Functions

Returns event listeners of the given object

Removes DOM breakpoint that was set using setDOMBreakpoint

Removes breakpoint on particular DOM event

Removes breakpoint on particular native event

Removes breakpoint from XMLHttpRequest

Sets breakpoint on particular operation with DOM

Sets breakpoint on particular DOM event

Sets breakpoint on particular native event

Sets breakpoint on XMLHttpRequest

Link to this section Functions

Link to this function getEventListeners(page_pid) View Source

Returns event listeners of the given object.

Parameters: objectId - - Identifier of the object to return listeners for.depth - - The maximum depth at which Node children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.pierce - - Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false). Reports listeners for all contexts if pierce is enabled.

Link to this function getEventListeners(page_pid, parameters) View Source
Link to this function getEventListeners(page_pid, parameters, opts) View Source
Link to this function removeDOMBreakpoint(page_pid) View Source

Removes DOM breakpoint that was set using setDOMBreakpoint.

Parameters: nodeId - - Identifier of the node to remove breakpoint from.type - - Type of the breakpoint to remove.

Link to this function removeDOMBreakpoint(page_pid, parameters) View Source
Link to this function removeDOMBreakpoint(page_pid, parameters, opts) View Source
Link to this function removeEventListenerBreakpoint(page_pid) View Source

Removes breakpoint on particular DOM event.

Parameters: eventName - - Event name.targetName - - EventTarget interface name.

Link to this function removeEventListenerBreakpoint(page_pid, parameters) View Source
Link to this function removeEventListenerBreakpoint(page_pid, parameters, opts) View Source
Link to this function removeInstrumentationBreakpoint(page_pid) View Source

Removes breakpoint on particular native event.

Parameters: eventName - - Instrumentation name to stop on.

Link to this function removeInstrumentationBreakpoint(page_pid, parameters) View Source
Link to this function removeInstrumentationBreakpoint(page_pid, parameters, opts) View Source
Link to this function removeXHRBreakpoint(page_pid) View Source

Removes breakpoint from XMLHttpRequest.

Parameters: url - - Resource URL substring.

Link to this function removeXHRBreakpoint(page_pid, parameters) View Source
Link to this function removeXHRBreakpoint(page_pid, parameters, opts) View Source
Link to this function setDOMBreakpoint(page_pid) View Source

Sets breakpoint on particular operation with DOM.

Parameters: nodeId - - Identifier of the node to set breakpoint on.type - - Type of the operation to stop upon.

Link to this function setDOMBreakpoint(page_pid, parameters) View Source
Link to this function setDOMBreakpoint(page_pid, parameters, opts) View Source
Link to this function setEventListenerBreakpoint(page_pid) View Source

Sets breakpoint on particular DOM event.

Parameters: eventName - - DOM Event name to stop on (any DOM event will do).targetName - - EventTarget interface name to stop on. If equal to “*” or not provided, will stop on any EventTarget.

Link to this function setEventListenerBreakpoint(page_pid, parameters) View Source
Link to this function setEventListenerBreakpoint(page_pid, parameters, opts) View Source
Link to this function setInstrumentationBreakpoint(page_pid) View Source

Sets breakpoint on particular native event.

Parameters: eventName - - Instrumentation name to stop on.

Link to this function setInstrumentationBreakpoint(page_pid, parameters) View Source
Link to this function setInstrumentationBreakpoint(page_pid, parameters, opts) View Source
Link to this function setXHRBreakpoint(page_pid) View Source

Sets breakpoint on XMLHttpRequest.

Parameters: url - - Resource URL substring. All XHRs having this substring in the URL will get stopped upon.

Link to this function setXHRBreakpoint(page_pid, parameters) View Source
Link to this function setXHRBreakpoint(page_pid, parameters, opts) View Source