screencap
screencap copied to clipboard
--ignore-ssl-errors option passed to phantomjs
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?
Also request this option. I will post a fix if I find it.
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) || []