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/
Got a project in mind? Send me a quick message, and I'll get back to you within 24 hours!.
Recent Posts
- Disabling Payment Methods in WooCommerce Based on Conditions
- How to Update Product Quantity in WooCommerce Using Custom Code
- Dynamically Generating a Table of Contents in WordPress
- Direct Checkout in WooCommerce - Add Product to Cart from Checkout Page & Skip Shop, Product, and Cart Pages
- Understanding the Impact of git reset --hard Command
Your Questions / Comments
If you found this article interesting, found errors, or just want to discuss about it, please get in touch.