Skip to content

Instantly share code, notes, and snippets.

View add1ct3d's full-sized avatar
🎯
Focusing

add1ct3d

🎯
Focusing
View GitHub Profile
@add1ct3d
add1ct3d / setup-headless-selenium-xvfb.sh
Created March 9, 2019 04:40 — forked from amberj/setup-headless-selenium-xvfb.sh
Bash script to install/setup headless Selenium (uses Xvfb and Chrome)
#!/bin/bash
#
# Bash script to setup headless Selenium (uses Xvfb and Chrome)
# (Tested on Ubuntu 12.04)
# Add Google Chrome's repo to sources.list
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee -a /etc/apt/sources.list
# Install Google's public key used for signing packages (e.g. Chrome)
# (Source: http://www.google.com/linuxrepositories/)