public static ButtonControl <TFormHelper> CreateByXPath(string xPath, TFormHelper formHelper) { var buttonControl = new ButtonControl <TFormHelper>(By.XPath(xPath), formHelper); return(buttonControl); }
public static ButtonControl <TFormHelper> CreateById(string id, TFormHelper formHelper) { var buttonControl = new ButtonControl <TFormHelper>(By.Id(id), formHelper); return(buttonControl); }