Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions dotnet/src/webdriver/Firefox/FirefoxDriverService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,13 @@ protected override DriverOptions GetDefaultDriverOptions()
public string? LogPath { get; set; }

/// <summary>
/// Disable truncation of long log lines in GeckoDriver.
/// Gets or sets a value indicating whether to disable truncation of long log lines in GeckoDriver.
/// </summary>
public bool LogNoTruncate { get; set; }
/// <remarks>
/// A <see langword="null"/> value indicates no log truncation setting to specify.
/// Set to <see langword="true"/> to disable truncation, or <see langword="false"/> to enable truncation.
/// </remarks>
public bool? LogTruncate { get; set; }

/// <summary>
/// Directory in which GeckoDriver creates profiles.
Expand Down Expand Up @@ -199,7 +203,7 @@ protected override string CommandLineArguments
argsBuilder.Append(" --jsdebugger");
}

if (this.LogNoTruncate)
if (this.LogTruncate.HasValue && this.LogTruncate.Value)
{
argsBuilder.Append(" --log-no-truncate");
}
Expand Down
Loading