package cz.moneta.test.dsl.ufo.banka.pages.ib;

import cz.moneta.test.harness.support.web.*;

import static cz.moneta.test.dsl.ufo.banka.pages.ib.ADC045_S001_DetailSettingsIBPage.PAGE_DIV_XPATH;

@Wait(value = PAGE_DIV_XPATH, by = Lookup.XPATH, until = Until.VISIBLE)
public interface ADC045_S001_DetailSettingsIBPage extends WebFlow<ADC045_S001_DetailSettingsIBPage> {

    String PAGE_DIV_XPATH = "//div[text()='ADC045_S001']";
    String INTERNET_BANKING_ID_DIV = "ADC045_S001_L005";
    String INTERNET_BANKING_ID_KEY = "INTERNET_BANKING_ID";
    String RETURN_BUTTON = "ADC045_S001_B013";

    @StoreElementContent(storeKey = INTERNET_BANKING_ID_KEY, value = INTERNET_BANKING_ID_DIV)
    ADC045_S001_DetailSettingsIBPage storeInternetBanking_ID();

    @Click(RETURN_BUTTON)
    HPO040_S001_DirectBankingServicesPage clickReturn();

}
