← Back to DOM domain

DOM.highlightNode

Highlights DOM node.

Domain: DOM stable

Example Request

{
  "id": 1,
  "method": "DOM.highlightNode"
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('DOM.highlightNode');
console.log(result);