public static bool IsButtonEnabled(By Locator) { buttonElement = GenericHelper.GetElement(Locator); return(buttonElement.Enabled); }