Is there any way to get the latest chrome version?

I am writing a simple program in python and I need to get the latest release version of Chrome. But I can not find anywhere how to get the latest version of Chrome. Is there a way to get the latest release version of Chrome programmatically?

Answer

The official link from Chrome team. https://chromedriver.storage.googleapis.com/LATEST_RELEASE
This gives the latest Chrome release version

I wrote a simple Python function getting the latest versions from the above source.

import requests

def get_chrome_latest_release():
    url = "https://chromedriver.storage.googleapis.com/LATEST_RELEASE"
    response = requests.request("GET", url)
    return response.text

print(get_chrome_latest_release())

The test result is as follows.

78.0.3904.70

Hope this helps.

Leave a Reply

Your email address will not be published. Required fields are marked *