Skip to content

Instantly share code, notes, and snippets.

@codesankalp
Created May 9, 2022 14:51
Show Gist options
  • Save codesankalp/b9249d452069fa1564c90b02d052dcee to your computer and use it in GitHub Desktop.
Save codesankalp/b9249d452069fa1564c90b02d052dcee to your computer and use it in GitHub Desktop.
Setup ChromeDriver on Ubuntu
  1. Install prerequisite
sudo apt update
sudo apt install -y unzip xvfb libxi6 libgconf-2-4 
  1. Install Chrome or Chromium
  2. Download Chrome driver from https://chromedriver.chromium.org/downloads
  3. Run below commands:
sudo mv chromedriver /usr/bin/chromedriver 
sudo chown root:root /usr/bin/chromedriver 
sudo chmod +x /usr/bin/chromedriver 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment