← Back to DOMSnapshot domain

DOMSnapshot.enable

Enables DOM snapshot agent for the given page.

Domain: DOMSnapshot experimental

Example Request

{
  "id": 1,
  "method": "DOMSnapshot.enable"
}

Example Response

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

Usage in Node.js

const result = await send('DOMSnapshot.enable');
console.log(result);