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

import cz.moneta.test.harness.support.web.Click;
import cz.moneta.test.harness.support.web.TypeInto;

public interface MobileKeyConfirmation<A> {

    String SEND_MOBILE_KEY_LINK = "//img[@alt='Odeslat'] | //a[@id='sendBtn']";
    String SMS_CODE_INPUT = "//input[@id='SMSCode']";

    @TypeInto(SMS_CODE_INPUT)
    A typeSmsCode(String smsCode);

    @Click(SEND_MOBILE_KEY_LINK)
    A validateMobileKey();

}
