imported functions from Freedomain Social media Poster Shared Functions file so this submodule can be a complete drop in replacement
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user