← Back to Network domain

Network.canEmulateNetworkConditions

Tells whether emulation of network conditions is supported.

Domain: Network deprecated

Returns

NameTypeDescription
resultbooleanTrue if emulation of network conditions is supported.

Example Request

{
  "id": 1,
  "method": "Network.canEmulateNetworkConditions"
}

Example Response

{
  "id": 1,
  "result": {
    "result": {
      "type": "string",
      "value": "Example Domain"
    }
  }
}

Usage in Node.js

const result = await send('Network.canEmulateNetworkConditions');
console.log(result);
// {"result": {"type": "string", "value": "Example Domain"}}