[Python] ImportError: cannot import name 'webdriver' from partially initialized module...

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

  1. Stack

    Stack Membro Participativo

    Here is the code snippet:

    from selenium import webdriver
    from selenium.webdriver.chrome.service import Service
    import time

    #https://sites.google.com/chromium.org/driver/

    service = Service(executable_path="chromedriver.exe")
    driver = webdriver.Chrome(service=service)

    driver.get("https://google.com")

    time.sleep(2)

    driver.quit()


    After running, I get this error message:

    [​IMG]

    Continue reading...

Compartilhe esta Página