Chrome Remote Interface v0.4.1 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 from XMLHttpRequest.
Sets breakpoint on particular operation with DOM.
Sets breakpoint on particular DOM event.
Sets breakpoint on XMLHttpRequest.
Link to this section Functions
experimental?() View Source
getEventListeners(page_pid) View Source
Returns event listeners of the given object.
Parameters:
objectId -
getEventListeners(page_pid, parameters) View Source
getEventListeners(page_pid, parameters, opts) View Source
removeDOMBreakpoint(page_pid) View Source
Removes DOM breakpoint that was set using setDOMBreakpoint
.
Parameters:
nodeId -
removeDOMBreakpoint(page_pid, parameters) View Source
removeDOMBreakpoint(page_pid, parameters, opts) View Source
removeEventListenerBreakpoint(page_pid) View Source
Removes breakpoint on particular DOM event.
Parameters:
eventName -
removeEventListenerBreakpoint(page_pid, parameters) View Source
removeEventListenerBreakpoint(page_pid, parameters, opts) View Source
removeXHRBreakpoint(page_pid) View Source
Removes breakpoint from XMLHttpRequest.
Parameters:
url -
removeXHRBreakpoint(page_pid, parameters) View Source
removeXHRBreakpoint(page_pid, parameters, opts) View Source
setDOMBreakpoint(page_pid) View Source
Sets breakpoint on particular operation with DOM.
Parameters:
nodeId -
setDOMBreakpoint(page_pid, parameters) View Source
setDOMBreakpoint(page_pid, parameters, opts) View Source
setEventListenerBreakpoint(page_pid) View Source
Sets breakpoint on particular DOM event.
Parameters:
eventName - "*"
or not provided, will stop on any
EventTarget.
setEventListenerBreakpoint(page_pid, parameters) View Source
setEventListenerBreakpoint(page_pid, parameters, opts) View Source
setXHRBreakpoint(page_pid) View Source
Sets breakpoint on XMLHttpRequest.
Parameters:
url -