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

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

import static cz.moneta.test.dsl.ufo.banka.pages.common.pages.OBR001_S001_PrintInstructionPage.OBR001_S001_PAGE_LABEL_XPATH;

@Wait(value = OBR001_S001_PAGE_LABEL_XPATH, by = Lookup.XPATH, waitSecondsForElement = 180)
public interface OBR001_S001_PrintInstructionPage extends WebFlow<OBR001_S001_PrintInstructionPage> {
    String OBR001_S001_PAGE_LABEL_XPATH = "//div[text()='OBR001_S001']";
    String LEFT_BUTTON = "OBR001_S001_B001";
    String CENTER_BUTTON = "OBR001_S001_B002";
    String RIGHT_BUTTON = "OBR001_S001_B003";
    String ROOT_ID_KEY = "ROOT_ID_KEY";
    String ROOT_ID_XPATH = "OBR001_S001_L004";

    @Click(RIGHT_BUTTON)
    OBR001_S001_PrintInstructionPageTransitions clickRightButton();

    @Click(CENTER_BUTTON)
    OBR001_S001_PrintInstructionPageTransitions clickCenterButton();

    @Click(LEFT_BUTTON)
    OBR001_S001_PrintInstructionPageTransitions clickLeftButton();

    @StoreElementContent(storeKey = ROOT_ID_KEY, value = ROOT_ID_XPATH)
    OBR001_S001_PrintInstructionPage storeRootId();

}