← Back to Overlay domain

Overlay.getGridHighlightObjectsForTest

For Persistent Grid testing.

Domain: Overlay experimental

Parameters

NameTypeDescription
nodeIdsarrayIds of the node to get highlight object for.

Returns

NameTypeDescription
highlightsobjectGrid Highlight data for the node ids provided.

Example Request

{
  "id": 1,
  "method": "Overlay.getGridHighlightObjectsForTest",
  "params": {
    "nodeIds": []
  }
}

Example Response

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

Usage in Node.js

const result = await send('Overlay.getGridHighlightObjectsForTest', {"nodeIds": []});
console.log(result);
// {"highlights": {}}