Modified findElementByTagName to consider view tag name