package cz.moneta.test.dsl.monetaportal.components;

import cz.moneta.test.dsl.monetaportal.more.BranchesPage;
import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.Wait;

public interface FooterCallFree {

    //FOOTER_CALL_FREE
    String FOOTER_CALL_FREE_W2C_LINK = "//div[@class='footer-free-call__info']//a[@class='w2c-modal']";
    String FOOTER_CALL_FREE_BRANCH_PAGE_LINK = "//div[@class='footer-free-call__info']//a[@href='/kontakt#mapa-pobocek-section']";

    @Click(value = FOOTER_CALL_FREE_W2C_LINK, andWait = @Wait(explicitWaitSeconds = 1))
    Web2Call clickFooterCallFreeW2C();

    @Click(value = FOOTER_CALL_FREE_BRANCH_PAGE_LINK, andWait = @Wait(explicitWaitSeconds = 1))
    BranchesPage clickFooterCallFreeBranchPage();
}