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%