Overlay.highlightSourceOrderHighlights the source order of the children of the DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
| Name | Type | Description |
|---|---|---|
sourceOrderConfig | SourceOrderConfig | A descriptor for the appearance of the overlay drawing. |
nodeId (optional) | DOM.NodeId | Identifier of the node to highlight. |
backendNodeId (optional) | DOM.BackendNodeId | Identifier of the backend node to highlight. |
objectId (optional) | Runtime.RemoteObjectId | JavaScript object id of the node to be highlighted. |
{
"id": 1,
"method": "Overlay.highlightSourceOrder",
"params": {
"sourceOrderConfig": "sourceOrderConfig-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('Overlay.highlightSourceOrder', {"sourceOrderConfig": "sourceOrderConfig-value"});
console.log(result);