Posted almost 4 years ago. Visible to the public.

Install Chromedriver on Linux

Unfortunately, the Ubuntu package is for Chromium and not necessarily the most recent version. You have 2 options, however.

Option 1: Download from the official page

  1. Visit https://sites.google.com/a/chromium.org/chromedriver/downloads
  2. Download and extract (e.g. to ~/bin/ or /usr/local/share/)
  3. Remember to sudo chmod +x chromedriver

Chromedriver must be available in your path. You can add ~/bin to your path like this:

Copy
echo "export PATH=$PATH:$HOME/bin" >> $HOME/.bash_profile

Option 2: Install via npm

There's a handy npm package.

Copy
sudo npm -g install chromedriver ln -sf /usr/lib/node_modules/chromedriver/lib/chromedriver/chromedriver ~/bin/chromedriver

Once an application no longer requires constant development, it needs periodic maintenance for stable and secure operation. makandra offers monthly maintenance contracts that let you focus on your business while we make sure the lights stay on.

Owner of this card:

Avatar
Thomas Klemm
Last edit:
about 1 year ago
by Arne Hartherz
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Thomas Klemm to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more