← Back to CSS domain

CSS.enable

Enables the CSS agent for the given page. Clients should not assume that the CSS agent has been enabled until the result of this command is received.

Domain: CSS experimental

Example Request

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

Example Response

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

Usage in Node.js

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