def open_import_lightbox(self): if not self.is_in_project_level(): return False self.driver.find(OPEN_IMPORT_DIALOG_LINK).click() from pages.lightbox.import_datasender_light_box_page import ImportDatasenderLightBox return ImportDatasenderLightBox(self.driver)
def open_import_lightbox(self): from pages.adddatasenderspage.add_data_senders_locator import OPEN_IMPORT_DIALOG_LINK from pages.lightbox.import_datasender_light_box_page import ImportDatasenderLightBox self.driver.find(OPEN_IMPORT_DIALOG_LINK).click() return ImportDatasenderLightBox(self.driver)