DOM.enableEnables DOM agent for the given page.
| Name | Type | Description |
|---|---|---|
includeWhitespace (optional) | string | Whether to include whitespaces in the children array of returned Nodes. |
{
"id": 1,
"method": "DOM.enable"
}
{
"id": 1,
"result": {}
}
const result = await send('DOM.enable');
console.log(result);