Skip to content

driver_executable_path seems not to be respected, redownloads every instance (original undetected_chromedriver version respects driver_executable_path) #21

@bayanwatch1

Description

@bayanwatch1
import undetected as uc
import logging

logging.basicConfig(level=logging.DEBUG)

options = uc.ChromeOptions()

# Enable network/performance logging
options.set_capability(
    "goog:loggingPrefs",
    {"performance": "ALL"}
)

driver = uc.Chrome(
    options=options,

    driver_executable_path="./bin/chromedriver-linux64/chromedriver",
    use_subprocess=False
)

driver.get("https://example.com")
driver.quit()
DEBUG:undetected.patcher:Cleaning up unused files; found: []
DEBUG:undetected.patcher:getting release number from /latest-versions-per-milestone-with-downloads.json

It then gets stuck presumably downloading the chromedriver executable for god knows how long. It's been at it for like 15 minutes.

Need to have the webdriver cached as it takes a while for it to download and execute the actual reqquest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions