diff --git a/Selenium-Shared-Functions.ahk b/Selenium-Shared-Functions.ahk index 48b1b12..95059ef 100644 --- a/Selenium-Shared-Functions.ahk +++ b/Selenium-Shared-Functions.ahk @@ -5,6 +5,8 @@ CheckCurrentTabForCurrentSite(){ try CurrentTabURL := GetCurrentTabURlBase() + CheckForAlerts() + if(!InStr(CurrentTabURL, CurrentSite)){ Message = Chromedriver failed to switch to %CurrentSite%. Current Tab URL: %CurrentTabURL% SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging")