public void ClearText(IWebElement element, int?timeoutInmilliseconds = null) { _waitManager.WaitElementIsClickabled(element, timeoutInmilliseconds); _logger.LogInfo(string.Format("Perform clear text on element [{0}]", element)); try { element.Clear(); } catch (Exception e) { _logger.LogError(e.ToString()); throw; } }
protected void WaitElementIsClickabled(IWebElement element, int?timeoutInmilliseconds = null) { _waitManager.WaitElementIsClickabled(element, timeoutInmilliseconds); }