Hi Paul,
From my understanding, the IF statement in question should not be affecting the portion of the script containing the FindChild:
if(TREE_MODEL_OBJECT.ChildCount < 1)
{Log.Message("No Children Detected in search"); return null} |
Sorry, I missed the '}' character at the end of this line. That is why I always put it to a new line. :)
I looked at your script again and think that the problem is caused by the fact that the 'NativeWebObject' namespace does not have the 'outerText' property. Try using this property directly: