Hi,
great job on this repository. I'm making screenshots of an intranet system that is using self signed ssl certificate. I'm using your library with Chrome Stable headless mode on Ubuntu 16.04 server.
I can see that Chromium team added a way to ignore certificate errors https://bugs.chromium.org/p/chromium/issues/detail?id=659662
but I'm not familiar with the tooling enough to figure this out (how to use it with CRI).
Any help would be greatly appreciated. Thank you.
Hey thanks! :)
Have you tried this wiki recipe?
Regarding this recipe (bypass certificates errors), is this supposed to work out of the box with Chrome 59 ? In CDPV documentation, the stable version (1.2) has no Security domain.
@jdat82 yes it should, the stable version of the CDP doesn't correspond to the stable version of Chrome, it just means that things there won't change in the future.
Sorry, I'm not following. It is my understanding that CDP 1.2 is the default when using CRI. Am I right?
According to this documentation, there is no security domain.
@jdat82 nope, see the README:
chrome-remote-interface uses the local version of the protocol descriptor by default. This file is manually updated from time to time using scripts/update-protocol.sh and pushed to this repository.
The stable version (1.2) of the protocol is too limited to be used by default, using the latest (tip-of-tree) is safe enough.
OK, I understand now. Thanks.
Thank you, it worked! Where can I send the beer? :)
I was getting blank screenshot from my internal test site with bad certificates. The wiki recipe works for me!