|
|
|
@ -1070,7 +1070,7 @@ NavigateFromBaseURLTo(URL,PageTitle := "TodoDeleteme"){
|
|
|
|
|
; Message = Reusing Tab. `nCurrentTabURl: %CurrentTabURl%`nURL Navigating to: %URL%
|
|
|
|
|
; DevModeMsgBox(Message)
|
|
|
|
|
|
|
|
|
|
DevModeMsgBox("getting url")
|
|
|
|
|
; DevModeMsgBox("getting url")
|
|
|
|
|
|
|
|
|
|
try driver.Get(URL) ;Open selected URL
|
|
|
|
|
catch e {
|
|
|
|
@ -1116,12 +1116,23 @@ CheckForAlerts(){
|
|
|
|
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
|
|
|
|
try driver.switchToalert().accept()
|
|
|
|
|
; try driver.switchToalert().dismiss()
|
|
|
|
|
return "AlertFound"
|
|
|
|
|
return "True"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CheckURLForSubstring(Substring){
|
|
|
|
|
try CurrentTabURL := driver.url
|
|
|
|
|
|
|
|
|
|
if(InStr(CurrentTabURL, Substring))
|
|
|
|
|
return "True"
|
|
|
|
|
else,
|
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
; End of Function
|
|
|
|
|
; -------------------------------/NavigateFromBaseURL-------------------------------
|
|
|
|
|
|
|
|
|
|