public void Execute(Arguments arguments) { try { IEWrapper ieWrapper = IEManager.CurrentIE; ieWrapper.Refresh((int)arguments.Timeout.Value.TotalMilliseconds); } catch (Exception ex) { throw new ApplicationException($"Problem occured while refreshing page. Message: {ex.Message}", ex); } }