|
|
@ -21,6 +21,10 @@ GrabLocalsPostURLUsingTitle(PostTitle){
|
|
|
|
try ElementInnerText := driver.findelementbyxpath(Xpath).Attribute("innerText") ;XPATH Inner Text
|
|
|
|
try ElementInnerText := driver.findelementbyxpath(Xpath).Attribute("innerText") ;XPATH Inner Text
|
|
|
|
Try ElementOuterHTML := driver.findelementbyxpath(Xpath).Attribute("outerHTML") ;XPATH-ID & Tag
|
|
|
|
Try ElementOuterHTML := driver.findelementbyxpath(Xpath).Attribute("outerHTML") ;XPATH-ID & Tag
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(Devmode){
|
|
|
|
|
|
|
|
Msgbox % "ElementInnerText: " ElementInnerText "`n" "ElementOuterHTML: " ElementOuterHTML
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(InStr(ElementInnerText, PostTitle)){
|
|
|
|
if(InStr(ElementInnerText, PostTitle)){
|
|
|
|
Message = Found Post Title in Element Number: %A_index%
|
|
|
|
Message = Found Post Title in Element Number: %A_index%
|
|
|
|