package cz.moneta.test.dsl.ufo.operations.search;

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

public interface OPS001_S001_SharedSearchElements<T> {

    String SEARCH_INPUT = "OPS001_S001_E008";

    @Wait(value = SEARCH_INPUT, until = Until.VISIBLE)
    @TypeInto(value = SEARCH_INPUT, clear = true)
    T fillSearchInput(String searchValue);

    @ExecuteJavaScript("navigator.clipboard.writeText(document.getElementById('" + SEARCH_INPUT + "').value)")
    T copyRcOfClientToClipboard();

}