diff --git a/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs b/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs index 53e25359dbdd2..8721eb5903cd1 100644 --- a/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs +++ b/dotnet/src/webdriver/Chromium/ChromiumDriverService.cs @@ -95,6 +95,11 @@ protected ChromiumDriverService(string? executablePath, string? executableFileNa /// public string? AllowedIPAddresses { get; set; } + /// + /// Adds readable timestamps to log + /// + public bool ReadableTimestamp { get; set; } + /// /// Gets the command-line arguments for the driver service. /// @@ -128,6 +133,11 @@ protected override string CommandLineArguments argsBuilder.Append(" --append-log"); } + if (this.ReadableTimestamp) + { + argsBuilder.Append(" --readable-timestamp"); + } + if (!string.IsNullOrEmpty(this.LogPath)) { argsBuilder.AppendFormat(CultureInfo.InvariantCulture, " --log-path=\"{0}\"", this.LogPath);