DOMDebugger.setDOMBreakpointSets breakpoint on particular operation with DOM.
| Name | Type | Description |
|---|---|---|
nodeId | DOM.NodeId | Identifier of the node to set breakpoint on. |
type | DOMBreakpointType | Type of the operation to stop upon. |
{
"id": 1,
"method": "DOMDebugger.setDOMBreakpoint",
"params": {
"nodeId": 1,
"type": "type-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('DOMDebugger.setDOMBreakpoint', {"nodeId": 1, "type": "type-value"});
console.log(result);