sudo apt-get install software-properties-common curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee -a /etc/apt/sources.list.d/google-chrome.list sudo apt-get -y update sudo apt-get -y install google-chrome-stable google-chrome-stable --version
URL to latest version is found at https://chromedriver.chromium.org/
sudo apt-get install -y unzip xvfb libxi6 libgconf-2-4 wget https://chromedriver.storage.googleapis.com/88.0.4324.96/chromedriver_linux64.zip unzip chromedriver_linux64.zip sudo mv chromedriver /usr/local/bin/chromedriver sudo chown root:root /usr/local/bin/chromedriver sudo chmod +x /usr/local/bin/chromedriver
chromedriver --url-base=/wd/hub
wget https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar sudo mv selenium-server-standalone-3.141.59.jar /usr/local/bin/selenium-server-standalone.jar sudo chown root:root /usr/local/bin/selenium-server-standalone.jar sudo chmod 0755 /usr/local/bin/selenium-server-standalone.jar
xvfb-run java -Dwebdriver.chrome.driver=/usr/local/bin/chromedriver -jar /usr/local/bin/selenium-server-standalone.jar