Example #1
0
 private void Navigate(Arguments arguments, IEWrapper wrapper)
 {
     try
     {
         if (!string.IsNullOrEmpty(arguments.Url?.Value))
         {
             wrapper.GoToUrl(arguments.Url.Value, arguments.NoWait.Value, (int)arguments?.Timeout?.Value.TotalMilliseconds);
         }
     }
     catch (Exception ex)
     {
         throw new ApplicationException($"Failure while navigating Internet Explorer address to '{arguments.Url.Value}'. It's possible that there are problems with internet connection or that the specified page does never reach completed state. Additional message: {ex.Message}", ex);
     }
 }