Created
January 24, 2012 16:55
-
-
Save cpliakas/1671110 to your computer and use it in GitHub Desktop.
Browser screenshots from the command line on Ubuntu
This file contains 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
#!/bin/bash | |
xvfb-run --server-args="-screen 0, 1024x768x24" wkhtmltopdf -q -B 0 -T 0 -L 0 -R 0 http://google.com google.com.pdf | |
convert -density 300 google.com.pdf -append google.com.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment