Chrome-remote-interface: Detecting invalid HTTPS certs

Created on 9 May 2017  路  4Comments  路  Source: cyrus-and/chrome-remote-interface

Hi there! I've been digging through the CDP docs and through the codebase, and am not sure if there's a way to go about detecting if a Page.navigate call goes through to a page without a signed certification
image. Right now, the call to Page.navigate just hangs at the page above, so I was curious if there's either something I'm missing or if you know of any workarounds. Thanks again so much!

protocol question

Most helpful comment

@jeethsuresh I've added a recipe to the wiki.

All 4 comments

Nevermind, hooking into Security.certificateError seems to do the trick 馃憤 . Closing this!

Hey, I'm having trouble with this - mind pasting a snippet?

@jeethsuresh I've added a recipe to the wiki.

Much appreciated, thanks!

Was this page helpful?
0 / 5 - 0 ratings