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?
The official link from Chrome team.
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.
Hope this helps.