added alert check to CheckCurrentTabForCurrentSite function that gets called after each tab navigation in FSMP
This commit is contained in:
@@ -5,6 +5,8 @@
|
|||||||
CheckCurrentTabForCurrentSite(){
|
CheckCurrentTabForCurrentSite(){
|
||||||
try CurrentTabURL := GetCurrentTabURlBase()
|
try CurrentTabURL := GetCurrentTabURlBase()
|
||||||
|
|
||||||
|
CheckForAlerts()
|
||||||
|
|
||||||
if(!InStr(CurrentTabURL, CurrentSite)){
|
if(!InStr(CurrentTabURL, CurrentSite)){
|
||||||
Message = Chromedriver failed to switch to %CurrentSite%. Current Tab URL: %CurrentTabURL%
|
Message = Chromedriver failed to switch to %CurrentSite%. Current Tab URL: %CurrentTabURL%
|
||||||
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging")
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging")
|
||||||
|
|||||||
Reference in New Issue
Block a user