def click_admin_link(self): EdgeSupport.click_element_by_id(self.driver, self.admin_lnk_loc[1])
def click_on_insert_link(self): EdgeSupport.click_element_by_id(self.driver, self.Insert_txt_loc[1])
def click_sign_in_link(self): EdgeSupport.click_element_by_id(self.driver, self.sign_in_loc[1])
def click_on_insert_btn(self): EdgeSupport.click_element_by_id(self.driver, self.Insert_btn[1])
def click_on_add_btn(self): EdgeSupport.click_element_by_id(self.driver, self.Add_btn[1])
def click_on_add_new(self): EdgeSupport.click_element_by_id(self.driver, self.AddNew_txt_loc[1])
def login(self, username, password): self.username_txt.send_keys(username) self.password_txt.send_keys(password) EdgeSupport.click_element_by_id(self.driver, self.login_btn_loc[1])
def click_on_books_link(self): member_element = self.get_element('BooksLink_txt_loc') EdgeSupport.click_element(member_element)