started on adding chrome/chromedriver auto downloading

main
Yuriy 1 year ago
parent f358623f86
commit 74e67e5ab9

@ -13,12 +13,17 @@ global DriverTitleArray
global LastWebsitePostURL
global CurrentTabURL
global URLOfLastErrorPage
global chromeDLURL64
global chromedriverDLURL64
; Chrome Related Functions
;------------------------------------------------
DownladAndExtractZip(URL, Directory){
; UrlDownloadToFile, %, Filename
}
GetChromeFilepath(){
; ChromeFilepath is global variable
; Establish Variable with Filepath to be used throughout the script
@ -41,6 +46,7 @@ GetChromeFilepath(){
ChromeFilepath = C:\Program Files\Google\Chrome\Application\chrome.exe
}
}
}
GetChromeVersion(){

@ -220,8 +220,8 @@ NavigateFromBaseURLTo(URL,PageTitle := "TodoDeleteme"){
; extract Base URL from Full URL
URLBase := ExtractBaseURL(URL)
Message = Checking for URLBase: %URLBase% within ChromeTabsURLArray
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
; Message = Checking for URLBase: %URLBase% within ChromeTabsURLArray
; SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile")
; msgbox % HasSubstringVal(ChromeTabsURLArray, URLBase) . "`n`n is the status of URLbase in ChromeTabsURLArray"
@ -229,7 +229,7 @@ NavigateFromBaseURLTo(URL,PageTitle := "TodoDeleteme"){
if(!HasSubstringVal(ChromeTabsURLArray, URLBase))
{
; DevModeMsgBox("Creating new tab")
Message = Chrome tab does not exist. Creating new tab ;. Creating new tab with URL: %URL%
Message = Chrome tab does not exist in ChromeTabsURLArray. Creating new tab ;. Creating new tab with URL: %URL%
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
try, run "%ChromeFilepath%" "%URL%"

Loading…
Cancel
Save