public string GetButtonText(IWebElement element)
        {
            SeleniumGetMethods.GetElement(element);

            if (element.GetAttribute("value") == null)
            {
                return(string.Empty);
            }
            return(element.GetAttribute("value"));
        }
 public void ClickButton(IWebElement element)
 {
     SeleniumGetMethods.GetElement(element);
     //Reporter.AddTestInfo(GetCurrentMethod() + " => " + "Elemento encontrado: " + element.GetElementAttribute());
     element.Click();
 }
 public static bool IsButtonEnabled(IWebElement element)
 {
     SeleniumGetMethods.GetElement(element);
     return(element.Enabled);
 }
 public void ClickLink(IWebElement element)
 {
     SeleniumGetMethods.GetElement(element);
     element.Click();
 }