--- /dev/null
+# This template installs Chrome and ChromeDriver for imports
+
+hooks:
+ after_bundle_exec:
+ - exec:
+ cd: /tmp
+ cmd:
+ - curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add
+ - echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
+ - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y unzip google-chrome-stable
+ - LATEST_VERSION=$(curl -s https://chromedriver.storage.googleapis.com/LATEST_RELEASE) && wget https://chromedriver.storage.googleapis.com/$LATEST_VERSION/chromedriver_linux64.zip
+ - unzip chromedriver_linux64.zip -d /usr/local/bin