puppeteer/new-docs/puppeteer.protocol.security.certificateerrorevent.md
2020-07-13 14:01:35 +01:00

23 lines
1.2 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Security](./puppeteer.protocol.security.md) &gt; [CertificateErrorEvent](./puppeteer.protocol.security.certificateerrorevent.md)
## Protocol.Security.CertificateErrorEvent interface
There is a certificate error. If overriding certificate errors is enabled, then it should be handled with the `handleCertificateError` command. Note: this event does not fire if the certificate error has been allowed internally. Only one client per target should override certificate errors at the same time.
<b>Signature:</b>
```typescript
export interface CertificateErrorEvent
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [errorType](./puppeteer.protocol.security.certificateerrorevent.errortype.md) | string | The type of the error. |
| [eventId](./puppeteer.protocol.security.certificateerrorevent.eventid.md) | [integer](./puppeteer.protocol.integer.md) | The ID of the event. |
| [requestURL](./puppeteer.protocol.security.certificateerrorevent.requesturl.md) | string | The url that was requested. |