Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      June 4, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      June 4, 2025

      How To Prevent WordPress SQL Injection Attacks

      June 4, 2025

      Smashing Animations Part 4: Optimising SVGs

      June 4, 2025

      I test AI tools for a living. Here are 3 image generators I actually use and how

      June 4, 2025

      The world’s smallest 65W USB-C charger is my latest travel essential

      June 4, 2025

      This Spotlight alternative for Mac is my secret weapon for AI-powered search

      June 4, 2025

      Tech prophet Mary Meeker just dropped a massive report on AI trends – here’s your TL;DR

      June 4, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Beyond AEM: How Adobe Sensei Powers the Full Enterprise Experience

      June 4, 2025
      Recent

      Beyond AEM: How Adobe Sensei Powers the Full Enterprise Experience

      June 4, 2025

      Simplify Negative Relation Queries with Laravel’s whereDoesntHaveRelation Methods

      June 4, 2025

      Cast Model Properties to a Uri Instance in 12.17

      June 4, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      My Favorite Obsidian Plugins and Their Hidden Settings

      June 4, 2025
      Recent

      My Favorite Obsidian Plugins and Their Hidden Settings

      June 4, 2025

      Rilasciata /e/OS 3.0: Nuova Vita per Android Senza Google, Più Privacy e Controllo per l’Utente

      June 4, 2025

      Rilasciata Oracle Linux 9.6: Scopri le Novità e i Miglioramenti nella Sicurezza e nelle Prestazioni

      June 4, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Operating Systems»Linux»How to Correctly Install ChromeDriver on Ubuntu 🐧

    How to Correctly Install ChromeDriver on Ubuntu 🐧

    February 17, 2025

    ChromeDriver is a small software that helps other programs (like Selenium) to control Google Chrome browser automatically. If you want to automate a web browser using Selenium on Ubuntu or any other system, you need ChromeDriver. This small software helps Selenium control Google Chrome for testing websites or scraping data.

    In this tutorial, we will help you to install correct ChromeDriver version that work properly with installed Google Chrome version on your Ubuntu and other Debian based systems in a very simple way.

    Step 1: Update Your System

    1. Open the Terminal (press Ctrl + Alt + T).
    2. Execute following command to update your system packages:
      sudo apt update && sudo apt upgrade -y
      

    Step 2: Install Google Chrome

    Before installing ChromeDriver make sure you have already installed Google chrome browser on your system. You can also install latest Google Chrome using:

    wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    sudo apt install -f ./google-chrome-stable_current_amd64.deb -y
    

    Check if Chrome is installed:

    google-chrome --version
    

    Step 3: Install Correct ChromeDriver Version

    ChromeDriver can be downloaded form official download page. It is important that you install the same version of Chromedriver as Google chrome. So follow the below instructions to download and configure correct Chromedriver:

    1. Check your Chrome version:
      google-chrome --version
      
      Output: Google Chrome 133.0.6943.98
      
    2. Download the matching ChromeDriver version. Replace 133.0.6943.98 in below command with the version shows by above command:
      wget https://storage.googleapis.com/chrome-for-testing-public/133.0.6943.98/linux64/chromedriver-linux64.zip
      
    3. Extract and configure ChromeDriver to make it globally accessible:
      unzip chromedriver-linux64.zip
      sudo mv chromedriver-linux64/chromedriver /usr/local/bin/chromedriver
      sudo chmod +x /usr/local/bin/chromedriver
      

    Step 4: Verify ChromeDriver Installation

    Run this command to check if ChromeDriver is installed:

    chromedriver --version
    

    If the output is like this:

    
    ChromeDriver 133.0.6943.98 (da53563ceb66412e2637507c8724bd0cab05e453-refs/branch-heads/6943_85@{#7})
    
    

    Then the installation is successful!

    Correctly Install ChromeDriver on Ubuntu
    Correctly Installed ChromeDriver on Ubuntu

    Step 5: Test ChromeDriver with Selenium

    Install Python and Selenium:

    pip install selenium
    

    Create a test script:

    
    from selenium importA webdriver
    
    driver = webdriver.Chrome()
    driver.get("https://www.google.com")
    print("Chrome opened successfully!")
    driver.quit()
    
    

    Run the script:

    python test_selenium.py
    

    Conclusion

    Now you have installed correct ChromeDriver version on Ubuntu without any errors. You can use it for Selenium automation, testing websites, or web scraping etc. If you face any issues, check your Chrome version and download the correct ChromeDriver version again.

    The post How to Correctly Install ChromeDriver on Ubuntu 🐧 appeared first on TecAdmin.

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous Article10 Tips for Keeping Your Job Search under Wraps (Free Download)
    Next Article mothur – analyze microbial communities

    Related Posts

    Linux

    My Favorite Obsidian Plugins and Their Hidden Settings

    June 4, 2025
    Linux

    Rilasciata /e/OS 3.0: Nuova Vita per Android Senza Google, Più Privacy e Controllo per l’Utente

    June 4, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    Why Your Code is Slow: Common Performance Mistakes Beginners Make

    Development

    InnoCN 49Q1R Review – Ultrawide Curved 49” QD-OLED Gaming Monitor for Just $1000

    Operating Systems

    Apple’s AI Race: Is the Tech Giant Falling Behind?

    Security

    Protecting and Securing Your VBA Projects: A Comprehensive Guide

    Development

    Highlights

    Development

    How To Build A Simple Portfolio Blog With Next.js

    May 30, 2025

    I have written articles on different platforms including LinkedIn, The Network Bits (Substack), and freeCodeCamp.…

    Whiteboard-of-Thought (WoT) Prompting: A Simple AI Approach to Enhance the Visual Reasoning Abilities of MLLMs Across Modalities

    June 24, 2024

    I used Elon Musk’s infamous Elden Ring build in the DLC, Shadow of the Erdtree — here’s what happened

    July 8, 2024

    Benchmarking Amazon Aurora Limitless with pgbench

    November 19, 2024
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.