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

对chrome版本是否有限制

Open likohank opened this issue 1 year ago • 1 comments

使用118版本的chrome,一直提示错误 [15:30:06] Checking Google Chrome and chromedriver ... [15:30:07] WARNING:root:Can not find chromedriver for currently installed chrome version. [15:30:07] Dependencies not resolved, exit. [15:30:07] stopped

请问要运行此程序,是否需要指定版本的chrome

likohank avatar Oct 16 '23 07:10 likohank

def resolve_dependencies(driver=str):
    if "chrome" in driver:
        print("Checking Google Chrome and chromedriver ...")
        # if you have installed chronmium/chrome and chromedriver of the same version and still get an error, you can try commenting out the following three lines.
        # driver_path = chromedriver_autoinstaller.install()
        # if not driver_path:
        #    return False
        print("OK.")
    return True

MuLoo avatar Apr 16 '24 08:04 MuLoo