def fill_out_quantity(self, quantity): self.driver.find_element_by_xpath(CreateInvoicePageLocators.get_invoice_form_table_data(4)).click() self.driver.find_element_by_id(CreateInvoicePageLocators.get_form_quantity_locator()).clear() self.driver.find_element_by_id(CreateInvoicePageLocators.get_form_quantity_locator()).send_keys(quantity)