More than 1 year has passed since last update.

Phantom.js seems dead, with a lot of holes not filled.

I have to find a replacement, so I am trying Chrome Headless now.

Install Google Chrome on Debian

Note, the following commands work only in Debian 8.

Debian 7 is not supported as a result of test.


sudo apt-get install libxss1 libappindicator1 libindicator7
sudo dpkg -i google-chrome*.deb

Might show "errors", fixed by next line.

sudo apt-get install -f

Then run the dpkg again.

Try to Run

google-chrome --headless --disable-gpu --hide-scrollbars --screenshot

# [1116/] Written to file screenshot.png.