added alert check to CheckCurrentTabForCurrentSite function that gets called after each tab navigation in FSMP

main
Yuriy 2 years ago
parent 296dd6eabf
commit f056489f50

@ -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")

Loading…
Cancel
Save