Skip to content

Instantly share code, notes, and snippets.

View tsl0922's full-sized avatar
💭
I may be slow to respond.

Shuanglei Tao tsl0922

💭
I may be slow to respond.
View GitHub Profile
#!/bin/bash
#
# Bash script to setup headless Selenium (uses Xvfb and Chrome)
# (Tested on Ubuntu 12.04) trying on ubuntu server 14.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/)