def admin_login(self): username = ReadConfig.username() self.driver.find_element_by_id(self.textbox_userName_id).clear() self.driver.find_element_by_id(self.textbox_userName_id).send_keys(username) password = ReadConfig.password() self.driver.find_element_by_id(self.textbox_Password_id).clear() self.driver.find_element_by_id(self.textbox_Password_id).send_keys(password) self.driver.find_element_by_xpath(self.button_login_xpath).click()
def send_password(self): password = ReadConfig.password() self.driver.find_element_by_id(self.textbox_Password_id).clear() self.driver.find_element_by_id(self.textbox_Password_id).send_keys(password)