Step-by-step:
1. Enable request interception in devtools protocol and enable security domain
Security.enable()
Network.enable()
Network.setRequestInterception()
2. Navigate to a page with self-signed certificates
page.navigate(<url>)
3. Respond to protocol events:
- continue interception: Network.continueInterceptedRequest()
- proceed with security error: Security.handleCertificateError()
4. Notice that navigation never completes and page is not loaded. Request is not continued.
Downstream pptr bug: https://github.com/GoogleChrome/puppeteer/issues/1159
Comment 1 by kman...@gmail.com
, Feb 17 2018