public static void ClearAndSendKeysWithWait(this By elementLocator, string text, TimeSpan?customTimeout = null) { elementLocator.ClearWithWait(customTimeout); elementLocator.SendKeysWithWait(text, customTimeout); }