File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
dotnet/src/webdriver/Firefox Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -104,9 +104,13 @@ protected override DriverOptions GetDefaultDriverOptions()
104104 public string ? LogPath { get ; set ; }
105105
106106 /// <summary>
107- /// Disable truncation of long log lines in GeckoDriver.
107+ /// Gets or sets a value indicating whether to disable truncation of long log lines in GeckoDriver.
108108 /// </summary>
109- public bool LogNoTruncate { get ; set ; }
109+ /// <remarks>
110+ /// A <see langword="null"/> value indicates no log truncation setting to specify.
111+ /// Set to <see langword="true"/> to disable truncation, or <see langword="false"/> to enable truncation.
112+ /// </remarks>
113+ public bool ? LogTruncate { get ; set ; }
110114
111115 /// <summary>
112116 /// Directory in which GeckoDriver creates profiles.
@@ -199,7 +203,7 @@ protected override string CommandLineArguments
199203 argsBuilder . Append ( " --jsdebugger" ) ;
200204 }
201205
202- if ( this . LogNoTruncate )
206+ if ( this . LogTruncate . HasValue && this . LogTruncate . Value )
203207 {
204208 argsBuilder . Append ( " --log-no-truncate" ) ;
205209 }
You can’t perform that action at this time.
0 commit comments