Beispiel #1
0
        /// <summary>
        ///     ...Description to be added...
        /// </summary>
        /// <param name="seleniumLogType">The log for which to retrieve the log entries.</param>
        private static string LogKind(SeleniumLogType seleniumLogType)
        {
            switch (seleniumLogType)
            {
            case SeleniumLogType.BrowserLogs:
                return(LogType.Browser);

            case SeleniumLogType.ClientLogs:
                return(LogType.Client);

            case SeleniumLogType.DriverLogs:
                return(LogType.Driver);

            case SeleniumLogType.ProfilerLogs:
                return(LogType.Profiler);

            case SeleniumLogType.ServerLogs:
                return(LogType.Server);

            default:
                throw new InvalidEnumArgumentException();
            }
        }
Beispiel #2
0
 /// <summary>
 ///     ...Description to be added...
 /// </summary>
 /// <param name="seleniumLogType">The log for which to retrieve the log entries.</param>
 public bool HasLog(SeleniumLogType seleniumLogType)
 {
     return(HasLog(LogKind(seleniumLogType)));
 }
Beispiel #3
0
 /// <summary>
 ///     ...Description to be added...
 /// </summary>
 /// <param name="seleniumLogType">The log for which to retrieve the log entries.</param>
 public ReadOnlyCollection <LogEntry> GetLog(SeleniumLogType seleniumLogType)
 {
     return(GetLog(LogKind(seleniumLogType)));
 }