package cz.moneta.test.dsl.ib.cards.application;

import cz.moneta.test.harness.support.web.Builder;
import cz.moneta.test.harness.support.web.CheckElementContent;
import cz.moneta.test.harness.support.web.Click;

public interface CardDetailsOfferBanner<T> extends Builder {

    String CREDIT_CARD_OFFER = "//*[@id='x31809652']/div[4]/div/div/div[2]/div/h3";
    String I_AM_INTERESTED = "//*[@id='x31809652']/div[4]/div/div/div[3]/div/button[1]";

    @CheckElementContent(CREDIT_CARD_OFFER)
    T checkCreditCardOfferPresent(String offerHead);

    @Click(I_AM_INTERESTED)
    CardDetailsPage clickIamInterested();

}
