Use selenium native element location instead of javascript call in order to assure crossplatform compatability