imported functions from Freedomain Social media Poster Shared Functions file so this submodule can be a complete drop in replacement

main
Yuriy 2 years ago
parent 694c440a6a
commit 6f3065c5f3

@ -909,7 +909,25 @@ InputFilePathIntoOpenWindow(Filepath){
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){
URLBase := StrReplace(URL,"https://","") ; remove beginning of URL
URLBase := StrReplace(URLBase,"http://","") ; remove beginning of URL

Loading…
Cancel
Save