screencap icon indicating copy to clipboard operation
screencap copied to clipboard

--ignore-ssl-errors option passed to phantomjs

Open jcran opened this issue 9 years ago • 2 comments

I might be missing it, but i don't see an easy way to pass the --ignore-ssl-errors option to the phantomjs.rb wrapper and have it execute. Is this an upstream issue or can it be configured via screencap?

jcran avatar Oct 14 '15 06:10 jcran

Also request this option. I will post a fix if I find it.

drawlinson avatar Feb 09 '16 01:02 drawlinson

This should be possible now with this being merged upstream https://github.com/westoque/phantomjs.rb/pull/14/files#diff-67d9097521014c04027ef5459916edb5R33

Screencap#rasterize could take a flags array and apply them as Phantoms.new(flags).run(RASTERIZE.to_s, *params). Just make sure to remove from params first.

flags = args.delete(:flags) || []

samvincent avatar Apr 02 '16 02:04 samvincent