← Back to DOM domain
DOM.pushNodesByBackendIdsToFrontend
Requests that a batch of nodes is sent to the caller given their backend node ids.
Domain: DOM
experimental
Parameters
| Name | Type | Description |
backendNodeIds | array | The array of backend node ids. |
Returns
| Name | Type | Description |
nodeIds | array | The array of ids of pushed nodes that correspond to the backend ids specified in
backendNodeIds. |
Example Request
{
"id": 1,
"method": "DOM.pushNodesByBackendIdsToFrontend",
"params": {
"backendNodeIds": []
}
}
Example Response
{
"id": 1,
"result": {
"nodeIds": [
3,
4,
5
]
}
}
Usage in Node.js
const result = await send('DOM.pushNodesByBackendIdsToFrontend', {"backendNodeIds": []});
console.log(result);
// {"nodeIds": [3, 4, 5]}