def click_setup_payments(self): buttons = self.selenium.find_elements(*self._setup_payments_button_locator) for button in buttons: if button.text == 'Set Up Payments': button.click() break return CompatibilityAndPayments(self.testsetup)
def click_compatibility_and_payments(self): self.selenium.find_element( *self._compatibility_and_payments_link_locator).click() from pages.desktop.developer_hub.compatibility_and_payments import CompatibilityAndPayments return CompatibilityAndPayments(self.testsetup)
def click_setup_payments(self): self.selenium.find_element( *self._compatibility_and_payments_locator).click() return CompatibilityAndPayments(self.testsetup)