Skip to content

Instantly share code, notes, and snippets.

@alicanerdogan
Created October 24, 2017 08:54
Show Gist options
  • Save alicanerdogan/4bfa7b01e2c4d3b72d7fe202aaecb1f2 to your computer and use it in GitHub Desktop.
Save alicanerdogan/4bfa7b01e2c4d3b72d7fe202aaecb1f2 to your computer and use it in GitHub Desktop.
Headless Chrome on Ubuntu 16
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
apt-get update
apt-get install -y google-chrome-stable
// google-chrome --headless --no-sandbox --disable-gpu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment