Created
June 16, 2017 16:55
-
-
Save thanhluu/50c5349a6943e10136a5fad2ee34bdd0 to your computer and use it in GitHub Desktop.
Capture Screenshot by Chrome
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Install Chrome | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sudo sh -c 'echo "deb https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' | |
sudo apt-get update | |
sudo apt-get install google-chrome-stable | |
google-chrome --headless --disable-gpu --hide-scrollbars --screenshot --virtual-time-budget=1000 --window-size=1600,1200 https://www.pagebold.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment