Skip to content

Instantly share code, notes, and snippets.

@random-robbie
Created June 8, 2018 17:21
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save random-robbie/7406c84675069e5df9203a9203dc74f1 to your computer and use it in GitHub Desktop.
Save random-robbie/7406c84675069e5df9203a9203dc74f1 to your computer and use it in GitHub Desktop.
#!/bin/bash
chromium-browser --headless --disable-gpu --window-size=1920,1080 --screenshot http://$1 --screenshot=$RANDOM.jpg >/dev/null 2>&1
echo "[*] Screenshot Taken of http://$1 [*]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment