[Python] I have installed selenium 4.31, but Selenium Manager is not picking up the chrome...

Discussão em 'Python' iniciado por Stack, Abril 10, 2025.

  1. Stack

    Stack Membro Participativo

    I have a Python project. I installed selenium as pip install -U selenium. When I run pip show selenium, it outputs: Name: selenium Version: 4.31.0

    However, when I run this simple code script.py:

    from selenium import webdriver

    driver = webdriver.Chrome()
    driver.get('https://selenium.dev/')
    driver.quit()


    I get the following error:

    selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for chrome

    I thought Selenium Manager is included in Selenium version 4.31 and it takes care of the driver installation for you? What's going on?

    Continue reading...

Compartilhe esta Página