public void submit(T entity, String buttonName) { fill(PrintUtils.objToSetValue(entity)); getElement.getButton(buttonName).click(); }
public void submit(T entity) { submit(PrintUtils.objToSetValue(entity)); }
public void verify(T entity) { verify(PrintUtils.objToSetValue(entity), JDISettings.asserter::areEquals); }
public void fill(T entity) { fill(PrintUtils.objToSetValue(entity)); }
public void submit(T entity, Enum buttonName) { fill(PrintUtils.objToSetValue(entity)); getElement.getButton(buttonName.toString().toLowerCase()).click(); }