Пример #1
0
 public static void TypeinTextBox(By locator, string text)
 {
     Element = GenericHelper.GetElement(locator);
     Element.Clear();
     Element.SendKeys(text);
 }
Пример #2
0
        private static bool IsButtonEnabled(By locator)
        {
            IWebElement element = GenericHelper.GetElement(locator);

            return(element.Enabled);
        }
 public static void ClickOnRadioButton(By locator)
 {
     Element = GenericHelper.GetElement(locator);    
     Element.Click();
 }
Пример #4
0
 public static void ClickLink(By locator)
 {
     Element = GenericHelper.GetElement(locator);
     Element.Click();
 }