← Back to Emulation domain

Emulation.setDisplayFeaturesOverride

Start using the given display features to pupulate the Viewport Segments API. This override can also be set in setDeviceMetricsOverride().

Domain: Emulation experimental

Parameters

NameTypeDescription
featuresarray

Example Request

{
  "id": 1,
  "method": "Emulation.setDisplayFeaturesOverride",
  "params": {
    "features": []
  }
}

Example Response

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

Usage in Node.js

const result = await send('Emulation.setDisplayFeaturesOverride', {"features": []});
console.log(result);