← Back to DOM domain
DOM.getQueryingDescendantsForContainer
Returns the descendants of a container query container that have
container queries against this container.
Domain: DOM
experimental
Parameters
| Name | Type | Description |
nodeId | NodeId | Id of the container node to find querying descendants from. |
Returns
| Name | Type | Description |
nodeIds | array | Descendant nodes with container queries against the given container. |
Example Request
{
"id": 1,
"method": "DOM.getQueryingDescendantsForContainer",
"params": {
"nodeId": 1
}
}
Example Response
{
"id": 1,
"result": {
"nodeIds": [
3,
4,
5
]
}
}
Usage in Node.js
const result = await send('DOM.getQueryingDescendantsForContainer', {"nodeId": 1});
console.log(result);
// {"nodeIds": [3, 4, 5]}