added method to access page elements in xml file plus corresponding unit test