You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
--ignore-ssl-errors option passed to phantomjs #29
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?
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.
Activity
drawlinson commentedon Feb 9, 2016
Also request this option. I will post a fix if I find it.
samvincent commentedon Apr 2, 2016
This should be possible now with this being merged upstream https://github.com/westoque/phantomjs.rb/pull/14/files#diff-67d9097521014c04027ef5459916edb5R33
Screencap#rasterizecould take aflagsarray and apply them asPhantoms.new(flags).run(RASTERIZE.to_s, *params). Just make sure to remove from params first.flags = args.delete(:flags) || []