Security.handleCertificateErrorHandles a certificate error that fired a certificateError event.
| Name | Type | Description |
|---|---|---|
eventId | integer | The ID of the event. |
action | CertificateErrorAction | The action to take on the certificate error. |
{
"id": 1,
"method": "Security.handleCertificateError",
"params": {
"eventId": 1,
"action": "action-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('Security.handleCertificateError', {"eventId": 1, "action": "action-value"});
console.log(result);