Skip to content

Latest commit

 

History

History
64 lines (44 loc) · 1.57 KB

dom_debugger.rst

File metadata and controls

64 lines (44 loc) · 1.57 KB

DOMDebugger

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.

cdp.dom_debugger

Types

Generally, you do not need to instantiate CDP types yourself. Instead, the API creates objects for you as return values from commands, and then you can use those objects as arguments to other commands.

DOMBreakpointType

EventListener

Commands

Each command is a generator function. The return type Generator[x, y, z] indicates that the generator yields arguments of type x, it must be resumed with an argument of type y, and it returns type z. In this library, types x and y are the same for all commands, and z is the return type you should pay attention to. For more information, see Getting Started: Commands <getting-started-commands>.

get_event_listeners

remove_dom_breakpoint

remove_event_listener_breakpoint

remove_instrumentation_breakpoint

remove_xhr_breakpoint

set_dom_breakpoint

set_event_listener_breakpoint

set_instrumentation_breakpoint

set_xhr_breakpoint

Events

There are no events in this module.