← Back to Security domain

Security.handleCertificateError

Handles a certificate error that fired a certificateError event.

Domain: Security deprecated

Parameters

NameTypeDescription
eventIdintegerThe ID of the event.
actionCertificateErrorActionThe action to take on the certificate error.

Example Request

{
  "id": 1,
  "method": "Security.handleCertificateError",
  "params": {
    "eventId": 1,
    "action": "action-value"
  }
}

Example Response

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

Usage in Node.js

const result = await send('Security.handleCertificateError', {"eventId": 1, "action": "action-value"});
console.log(result);