Sarathlal N

Install Geckodriver in Ubuntu & its variants

Gecko is a web browser-engine used in many applications developed by Mozilla Foundation and the Mozilla Corporation. Geckodriver is the link / connection between other applications and the Gecko-based browsers.

We can also say that Geckodriver is a proxy for using W3C WebDriver-compatible clients to interact with Gecko-based browsers like Mozilla Firefox etc.

Go to the geckodriver releases page (https://github.com/mozilla/geckodriver/releases). Find the latest version of the driver for your platform and download it. For example:

wget https://github.com/mozilla/geckodriver/releases/download/v0.31.0/geckodriver-v0.31.0-linux64.tar.gz

Extract the file with tar command:

tar -xvzf geckodriver*

Make it executable:

chmod +x geckodriver

Move files to /usr/local/bin/ path to easily access.

sudo mv geckodriver /usr/local/bin/

Recent Posts

  1. Solve "ValueError invalid literal for int() with base 10" - Python
  2. Handling dynamic subdomain with Flask - Python
  3. A minimal example about WordPress object cache
  4. Select random element from a list - Python
  5. Write our first Selenium program with Python 3 & Firefox

Your Questions / Comments

If you found this article interesting, found errors, or just want to discuss about it, please get in touch.