Adding getter method for page element