← Back to Overlay domain

Overlay.highlightQuad

Highlights given quad. Coordinates are absolute with respect to the main frame viewport.

Domain: Overlay experimental

Parameters

NameTypeDescription
quadDOM.QuadQuad to highlight
color (optional)DOM.RGBAThe highlight fill color (default: transparent).
outlineColor (optional)DOM.RGBAThe highlight outline color (default: transparent).

Example Request

{
  "id": 1,
  "method": "Overlay.highlightQuad",
  "params": {
    "quad": "quad-value"
  }
}

Example Response

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

Usage in Node.js

const result = await send('Overlay.highlightQuad', {"quad": "quad-value"});
console.log(result);