From e654611bf3780c5a38ab700517fd34b6de78ebe2 Mon Sep 17 00:00:00 2001 From: Yuriy Date: Fri, 21 Jun 2024 22:53:08 -0400 Subject: [PATCH] added devmode status message --- Locals-Functions.ahk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Locals-Functions.ahk b/Locals-Functions.ahk index 4a73062..f8a1bd5 100644 --- a/Locals-Functions.ahk +++ b/Locals-Functions.ahk @@ -21,6 +21,10 @@ GrabLocalsPostURLUsingTitle(PostTitle){ try ElementInnerText := driver.findelementbyxpath(Xpath).Attribute("innerText") ;XPATH Inner Text Try ElementOuterHTML := driver.findelementbyxpath(Xpath).Attribute("outerHTML") ;XPATH-ID & Tag + if(Devmode){ + Msgbox % "ElementInnerText: " ElementInnerText "`n" "ElementOuterHTML: " ElementOuterHTML + } + if(InStr(ElementInnerText, PostTitle)){ Message = Found Post Title in Element Number: %A_index%