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

      Sunshine And March Vibes (2025 Wallpapers Edition)

      June 2, 2025

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

      June 2, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      June 2, 2025

      How To Prevent WordPress SQL Injection Attacks

      June 2, 2025

      How Red Hat just quietly, radically transformed enterprise server Linux

      June 2, 2025

      OpenAI wants ChatGPT to be your ‘super assistant’ – what that means

      June 2, 2025

      The best Linux VPNs of 2025: Expert tested and reviewed

      June 2, 2025

      One of my favorite gaming PCs is 60% off right now

      June 2, 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

      `document.currentScript` is more useful than I thought.

      June 2, 2025
      Recent

      `document.currentScript` is more useful than I thought.

      June 2, 2025

      Adobe Sensei and GenAI in Practice for Enterprise CMS

      June 2, 2025

      Over The Air Updates for React Native Apps

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

      You can now open ChatGPT on Windows 11 with Win+C (if you change the Settings)

      June 2, 2025
      Recent

      You can now open ChatGPT on Windows 11 with Win+C (if you change the Settings)

      June 2, 2025

      Microsoft says Copilot can use location to change Outlook’s UI on Android

      June 2, 2025

      TempoMail — Command Line Temporary Email in Linux

      June 2, 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

    Operating Systems

    You can now open ChatGPT on Windows 11 with Win+C (if you change the Settings)

    June 2, 2025
    Operating Systems

    Microsoft says Copilot can use location to change Outlook’s UI on Android

    June 2, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    Hidden 3D Pictures

    Artificial Intelligence

    Fresh Resources for Web Designers and Developers

    Web Development

    Building a Seamless Live Streaming App with React Native📺✨

    Web Development

    New Cloud Services and Flexible Deployment Options Now Available in the Precisely Data Integrity Suite

    Development

    Highlights

    You won’t have to pay a fee to publish apps to Microsoft Store

    May 21, 2025

    At Build 2025, Microsoft dropped two big updates for developers: the launch of GitHub Copilot…

    25 Advanced Terraform Interview Questions for Senior Roles

    May 19, 2025

    Microsoft’s new AI skills are coming to Copilot+ PCs – including some for all Windows 11 users

    May 6, 2025

    API CRUD Course in Spanish – Learn Node.js, Express, MongoDB, and Authentication

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

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