Image-Downloader icon indicating copy to clipboard operation
Image-Downloader copied to clipboard

使用谷歌搜索一直报错,是否需要升级什么版本?Can not find chromedriver for currently installed chrome version

Open Testlyy opened this issue 1 year ago • 4 comments

Can not find chromedriver for currently installed chrome version

Testlyy avatar Jan 08 '24 08:01 Testlyy

[17:28:22] driver = webdriver.Chrome(chrome_path, chrome_options=chrome_options) [17:28:22] TypeError [17:28:22] : [17:28:22] init() got an unexpected keyword argument 'chrome_options' [17:28:22] stopped

chuangzhidan avatar Jan 19 '24 09:01 chuangzhidan

I resolved this issue by downloading chromedriver and adding it to PATH.

Then I commented utils.py lin 72-79

def resolve_dependencies(driver=str):
    if "chrome" in driver:
        print("Checking Google Chrome and chromedriver ...")
        #driver_path = chromedriver_autoinstaller.install()
        #if not driver_path:
        #    return False
        print("OK.")
    return True

gennaromellone avatar Feb 22 '24 10:02 gennaromellone

same issue, gennaromellone's tip didn't work for me.

rubikJ avatar Mar 10 '24 00:03 rubikJ

chromedriver

Works for me !!! For anyone who cant find histroy version of Chrome or Chromedriver, here is the link: https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html

MuLoo avatar Apr 15 '24 09:04 MuLoo