Пример #1
0
 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;
     }
 }
Пример #2
0
 protected void WaitElementIsClickabled(IWebElement element, int?timeoutInmilliseconds = null)
 {
     _waitManager.WaitElementIsClickabled(element, timeoutInmilliseconds);
 }