Added public getElementLocatorFromReferencedView method for getting the selector of a Element