From 8a4c74ffafc09cdc5c7eebca06e4e9da2a71e79c Mon Sep 17 00:00:00 2001 From: yuriy Date: Wed, 1 Mar 2023 23:18:48 -0500 Subject: [PATCH] error checking to chrome tab switching function --- Selenium-Shared-Functions.ahk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Selenium-Shared-Functions.ahk b/Selenium-Shared-Functions.ahk index 78b3f87..71a21f8 100644 --- a/Selenium-Shared-Functions.ahk +++ b/Selenium-Shared-Functions.ahk @@ -220,6 +220,10 @@ CheckCurrentTabForCurrentSite(){ SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging") return "Failed" } + else, { + Message = CheckCurrentTabForCurrentSite() passed successfully + SaveOrPostProgress(Message:=Message,PostType:="ErrorLoggingTextFile,DiscordErrorLogging") + } } /* */