criticalCSS icon indicating copy to clipboard operation
criticalCSS copied to clipboard

Feature Request: allow passing config to or set configuration for phantomjs

Open bitinn opened this issue 9 years ago • 3 comments

Does criticalCSS support local https using self-signed cert?

I get this error:

Error: PHANTOM ERROR: Error: Page didn't open: https://local.dev/

bitinn avatar Jul 07 '15 16:07 bitinn

Actually I would change my question to a feature request:

allow passing custom config to phantomjs (through config.json or command), this allow us to change settings like ignoreSslErrors, which is needed to get my scenario working :)

bitinn avatar Jul 08 '15 05:07 bitinn

@bitinn - that's an A+ feature request. Lemme see what I can do about that when I can (it might be a few weeks, a bit stacked right now).

Thanks!

jefflembeck avatar Jul 08 '15 05:07 jefflembeck

@jefflembeck cheers!

Also a h/t on this issue, criticalCSS will probably encounter the same problem sooner or later:

https://github.com/pocketjoso/penthouse/issues/58

bitinn avatar Jul 08 '15 06:07 bitinn