Issue
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?
Solution
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.
Answered By - Jalil Markel
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.