|
|
@ -909,7 +909,25 @@ InputFilePathIntoOpenWindow(Filepath){
|
|
|
|
ToolTip,
|
|
|
|
ToolTip,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
; -------------------------------NavigateFromBaseURLTo-------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; -------------------------------Tab Navigation & Activation-------------------------------
|
|
|
|
|
|
|
|
CheckCurrentTabForCurrentSite(){
|
|
|
|
|
|
|
|
try CurrentTabURL := driver.url
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(!InStr(CurrentTabURL, CurrentSite)){
|
|
|
|
|
|
|
|
Message = Chromedriver failed to switch to %CurrentSite%. Please see errorlog for website it got stuck on.
|
|
|
|
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging")
|
|
|
|
|
|
|
|
return "Failed"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExtractBaseURL(URL){
|
|
|
|
ExtractBaseURL(URL){
|
|
|
|
URLBase := StrReplace(URL,"https://","") ; remove beginning of URL
|
|
|
|
URLBase := StrReplace(URL,"https://","") ; remove beginning of URL
|
|
|
|
URLBase := StrReplace(URLBase,"http://","") ; remove beginning of URL
|
|
|
|
URLBase := StrReplace(URLBase,"http://","") ; remove beginning of URL
|
|
|
|