public static void ClearWithWait(this By elementLocator, TimeSpan?customTimeout = null) { Wait.UntilElementIsDisplayed(elementLocator, customTimeout); elementLocator.Clear(); }
public static void ClearAndSendKeys(this By elementLocator, string text) { elementLocator.Clear(); elementLocator.SendKeys(text); }