From 3883f794e8775e6ded4b5438013921f92cf8a6a4 Mon Sep 17 00:00:00 2001 From: Pouyan Azari Date: Tue, 18 Jun 2019 16:54:59 +0200 Subject: [PATCH] added the installation instructions for Ubuntu --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3ed4e71..8c4a6a2 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,20 @@ brew cask install google-chrome To install the needed dependencies on Ubuntu: ```bash - +# Install Chrome. +sudo curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add +sudo echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list +sudo apt-get -y update +sudo apt-get -y install google-chrome-stable + +# Install ChromeDriver. +CHROME_DRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE` +wget -N http://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip -P ~/ +unzip ~/chromedriver_linux64.zip -d ~/ +rm ~/chromedriver_linux64.zip +sudo mv -f ~/chromedriver /usr/local/bin/chromedriver +sudo chown root:root /usr/local/bin/chromedriver +sudo chmod 0755 /usr/local/bin/chromedriver ``` ## Configuration