<gh_stars>0
from Locators.payment_info_locators import PaymentInfoLocators
from Pages.base_page import BasePage


class PaymentInfoPage(BasePage):
  def get_header_title(self):
    return self.get_text(PaymentInfoLocators.HEADER_TITLE)

  def input_payment_info(self, paymentInfo):
    self.enter_text(PaymentInfoLocators.TEXTBOX_FIRSTNAME, paymentInfo.firstname)
    self.enter_text(PaymentInfoLocators.TEXTBOX_LASTNAME, paymentInfo.lastname)
    self.enter_text(PaymentInfoLocators.TEXTBOX_ZIPCODE, paymentInfo.zipcode)

  def click_continue_checkout(self):
    self.click(PaymentInfoLocators.BUTTON_CONTINUE)

from Locators.payment_info_locators import PaymentInfoLocators
from Pages.base_page import BasePage


class PaymentInfoPage(BasePage):
  def get_header_title(self):
    return self.get_text(PaymentInfoLocators.HEADER_TITLE)

  def input_payment_info(self, paymentInfo):
    self.enter_text(PaymentInfoLocators.TEXTBOX_FIRSTNAME, paymentInfo.firstname)
    self.enter_text(PaymentInfoLocators.TEXTBOX_LASTNAME, paymentInfo.lastname)
    self.enter_text(PaymentInfoLocators.TEXTBOX_ZIPCODE, paymentInfo.zipcode)

  def click_continue_checkout(self):
    self.click(PaymentInfoLocators.BUTTON_CONTINUE)