From 21bb4924f03a8e44f563ec2898cd46f0747b6e15 Mon Sep 17 00:00:00 2001 From: yuriy Date: Mon, 24 Jul 2023 22:31:41 -0400 Subject: [PATCH] function rename --- Selenium-Shared-Functions.ahk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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