diff --git a/Selenium-Shared-Functions.ahk b/Selenium-Shared-Functions.ahk index 4755891..49196ac 100644 --- a/Selenium-Shared-Functions.ahk +++ b/Selenium-Shared-Functions.ahk @@ -12,8 +12,9 @@ GetChromeVersion(){ 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") ; requires #include of json.ahk in parent script @@ -50,7 +51,7 @@ DownloadLatestChromeDriver(ChromeVersion){ break } } - + ; Msgbox % "chromedriverDLURL32: " chromedriverDLURL32 ; Msgbox % "chromedriverDLURL64: " chromedriverDLURL64 return chromedriverDLURL32