maxwell / screencap

A gem to screencap webpages in ruby. Uses Phantom.js under the hood.
MIT License
179 stars 63 forks source link

Screencap does not work with PhantomJS 2.1.1, now released for Linux #31

Open wfried opened 8 years ago

wfried commented 8 years ago

Phantom JS 2.1.1 for Linux is finally available, and the PhantomJS-Gem has been released to support this. However, ever since upgrading to that version, Screencap is no longer working for me. It silently fails in my beta environment whereas it was working with version 1.9.8 of PhantomJS.

Has anyone else run into this?

benjineering commented 8 years ago

Same problem on Debian 8 and OSX 10.10

smcpherson commented 8 years ago

Seeing the same thing on OSX 10.11.3 (El Capitan) as well. When I call #fetch it just hangs indefinitely.

maxwell commented 8 years ago

pull requests gladly accepted!

On Fri, Feb 19, 2016 at 9:22 AM, Shannon McPherson <notifications@github.com

wrote:

Seeing the same thing on OSX 10.11.3 (El Capitan) as well. When I call

fetch it just hangs indefinitely.

— Reply to this email directly or view it on GitHub https://github.com/maxwell/screencap/issues/31#issuecomment-186313010.

bilalejazkpr commented 8 years ago

I am totally a newbie to rails and wants to take screenshots of browser by this gem. I can't figure out where to put its code and how to use it to take screenshots.. anybody please help me out :(

basex commented 8 years ago

I merged this pull request https://github.com/maxwell/screencap/pull/32 with my code to get this working with phantomjs 2.0, works without a problem and I get a lot less bugs.

cbartlett commented 8 years ago

Thanks @basex. That PR also fixed my woes. In fact gem 'screencap', github: 'Eventshare/screencap' solved the Phantom 2.1.1 issue as well as some rendering problems. So, thank you @jeremyk.

basex commented 8 years ago

@maxwell can you merge https://github.com/maxwell/screencap/pull/35 ? Thanks

DannyBen commented 7 years ago

Whats the status of this? It seems like there is a fix which is not yet merged and published. Can @maxwell do us a solid and publish? :)

pschfr commented 5 years ago

I too would like to know of this could be merged some time soon.