public static bool Enabled(this ITypeable element) { element.LogAction("Check whether element is enabled"); return(element.Process(e => e.Enabled)); }
public static void Type(this ITypeable element, string value) { element.LogAction($"Type value '{value}'"); element.Process(e => e.SendKeys(value)); }
public static void PressEnter(this ITypeable element) { element.LogAction($"Press key 'Enter'"); element.Process(e => e.SendKeys(Keys.Enter)); }