CertificateErrorParams
Parameters passed to the certificateError handler.
import { CertificateErrorParams } from '@mobrowser/api';
Properties
browser
readonly browser: Browser;
The browser instance whose request failed certificate validation.
url
readonly url: string;
The URL of the request.
isMainFrame
readonly isMainFrame: boolean;
true when the request loads the top-level page, and false when it
loads a frame or a resource of the page.
error
readonly error: string;
The name of the network error that describes why the certificate failed
validation, such as 'ERR_CERT_AUTHORITY_INVALID' or
'ERR_CERT_DATE_INVALID'.
certificate
readonly certificate: Certificate;
The certificate the server presented.