Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Python: ChromeDriverManager chrome downloads from incorrect url of latest chromedriver

  • 18-08-2022 12:27PM
    #1
    Registered Users, Registered Users 2 Posts: 5,761 ✭✭✭


    My log shows that the Chromedriver downloads from a 3 part version number rather than a 4-part

    10:32:22 INFO About to download new driver from https://chromedriver.storage.googleapis.com/104.0.5112/chromedriver_win32.zip
    


    It should be https://chromedriver.storage.googleapis.com/104.0.5112.79/chromedriver_win32.zip

    (i.e have the 4th part of version)

    Ive tried setting the latest_release_url to a 4 part version number but it doesnt overwrite it. Code below

    full_version = '104.0.5112.79'
            caps = {"pageLoadStrategy": "normal"}
            latest_release_url = 'https://chromedriver.storage.googleapis.com/{LATEST_RELEASE}_{full_version}'
            driver = webdriver.Chrome(
                ChromeDriverManager(
                    latest_release_url=latest_release_url).install(),
                options=options,
                desired_capabilities=caps)
    




Advertisement