Esempio n. 1
0
        public static ButtonControl <TFormHelper> CreateByXPath(string xPath, TFormHelper formHelper)
        {
            var buttonControl = new ButtonControl <TFormHelper>(By.XPath(xPath), formHelper);

            return(buttonControl);
        }
Esempio n. 2
0
        public static ButtonControl <TFormHelper> CreateById(string id, TFormHelper formHelper)
        {
            var buttonControl = new ButtonControl <TFormHelper>(By.Id(id), formHelper);

            return(buttonControl);
        }