← Back to Network domain

Network.canClearBrowserCookies

Tells whether clearing browser cookies is supported.

Domain: Network deprecated

Returns

NameTypeDescription
resultbooleanTrue if browser cookies can be cleared.

Example Request

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

Example Response

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

Usage in Node.js

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