function rename

main
Yuriy 1 year ago
parent 67117459a5
commit 21bb4924f0

@ -12,8 +12,9 @@ GetChromeVersion(){
return ChromeVersion return ChromeVersion
} }
DownloadLatestChromeDriver(ChromeVersion){ GetURLofLatestChromedriver(ChromeVersion){
; https://github.com/GoogleChromeLabs/chrome-for-testing#json-api-endpoints
json_str := urldownloadtovar("https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json") json_str := urldownloadtovar("https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json")
; requires #include of json.ahk in parent script ; requires #include of json.ahk in parent script
@ -50,7 +51,7 @@ DownloadLatestChromeDriver(ChromeVersion){
break break
} }
} }
; Msgbox % "chromedriverDLURL32: " chromedriverDLURL32 ; Msgbox % "chromedriverDLURL32: " chromedriverDLURL32
; Msgbox % "chromedriverDLURL64: " chromedriverDLURL64 ; Msgbox % "chromedriverDLURL64: " chromedriverDLURL64
return chromedriverDLURL32 return chromedriverDLURL32

Loading…
Cancel
Save