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

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 8, 2025

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

      May 8, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 8, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 8, 2025

      Xbox handheld leaks in new “Project Kennan” photos from the FCC — plus an ASUS ROG Ally 2 prototype with early specs

      May 8, 2025

      OpenAI plays into Elon Musk’s hands, ditching for-profit plan — but Sam Altman doesn’t have Microsoft’s blessing yet

      May 8, 2025

      “Are we all doomed?” — Fiverr CEO Micha Kaufman warns that AI is coming for all of our jobs, just as Bill Gates predicted

      May 8, 2025

      I went hands-on with dozens of indie games at Gamescom Latam last week — You need to wishlist these 7 titles right now

      May 8, 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

      NativePHP Hit $100K — And We’re Just Getting Started 🚀

      May 8, 2025
      Recent

      NativePHP Hit $100K — And We’re Just Getting Started 🚀

      May 8, 2025

      Mastering Node.js Streams: The Ultimate Guide to Memory-Efficient File Processing

      May 8, 2025

      Sitecore PowerShell commands – XM Cloud Content Migration

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

      8 Excellent Free Books to Learn Julia

      May 8, 2025
      Recent

      8 Excellent Free Books to Learn Julia

      May 8, 2025

      Janus is a general purpose WebRTC server

      May 8, 2025

      12 Best Free and Open Source Food and Drink Software

      May 8, 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

    8 Excellent Free Books to Learn Julia

    May 8, 2025
    Linux

    Janus is a general purpose WebRTC server

    May 8, 2025
    Leave A Reply Cancel Reply

    Hostinger

    Continue Reading

    Black Hat USA 2024: All eyes on election security

    Development

    Raymond Limited Confirms Cyberattack, Ensures Business Continuity

    Development

    Copilot can now turn your favorite topics into a virtual podcast that you can partake in

    News & Updates
    PHP DevTools Console

    PHP DevTools Console

    Development

    Highlights

    Development

    Single Click, Big Disruption: Employee Download Triggers Ascension Cyberattack

    June 13, 2024

    Ascension, a leading healthcare provider, has made significant progress in its investigation and recovery efforts…

    Blizzard just casually announced when Diablo 4 will get its second expansion

    February 13, 2025

    How to extract a number from response body in jmeter?

    July 4, 2024

    Cybercriminals Target Polish Businesses with Agent Tesla and Formbook Malware

    July 30, 2024
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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