screencap icon indicating copy to clipboard operation
screencap copied to clipboard

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

Open wfried opened this issue 9 years ago • 9 comments

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?

wfried avatar Feb 11 '16 06:02 wfried

Same problem on Debian 8 and OSX 10.10

benjineering avatar Feb 11 '16 07:02 benjineering

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

smcpherson avatar Feb 19 '16 17:02 smcpherson

pull requests gladly accepted!

On Fri, Feb 19, 2016 at 9:22 AM, Shannon McPherson <[email protected]

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.

maxwell avatar Feb 19 '16 22:02 maxwell

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 :(

bilalejazkpr avatar Apr 12 '16 12:04 bilalejazkpr

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.

basex avatar Apr 12 '16 20:04 basex

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.

cbartlett avatar May 13 '16 15:05 cbartlett

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

basex avatar May 23 '16 16:05 basex

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? :)

DannyBen avatar Mar 15 '17 16:03 DannyBen

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

pschfr avatar Dec 04 '18 00:12 pschfr