@@ -32,7 +32,7 @@ namespace OpenQA.Selenium.Firefox;
3232public sealed class FirefoxDriverService : DriverService
3333{
3434 private const string DefaultFirefoxDriverServiceFileName = "geckodriver" ;
35-
35+
3636 /// <summary>
3737 /// Process management fields for the log writer.
3838 /// </summary>
@@ -102,7 +102,7 @@ protected override DriverOptions GetDefaultDriverOptions()
102102 /// offer a way to specify a log file path directly.
103103 /// </remarks>
104104 public string ? LogPath { get ; set ; }
105-
105+
106106 /// <summary>
107107 /// Gets or sets the level at which log output is displayed.
108108 /// </summary>
@@ -192,7 +192,7 @@ protected override string CommandLineArguments
192192 return argsBuilder . ToString ( ) . Trim ( ) ;
193193 }
194194 }
195-
195+
196196 /// <summary>
197197 /// Handles the event when the driver service process is starting.
198198 /// </summary>
@@ -209,18 +209,18 @@ protected override void OnDriverProcessStarting(DriverProcessStartingEventArgs e
209209 {
210210 Directory . CreateDirectory ( directory ) ;
211211 }
212-
212+
213213 // Initialize the log writer
214214 logWriter = new StreamWriter ( this . LogPath , append : true ) { AutoFlush = true } ;
215-
215+
216216 // Configure process to redirect output
217217 eventArgs . DriverServiceProcessStartInfo . RedirectStandardOutput = true ;
218218 eventArgs . DriverServiceProcessStartInfo . RedirectStandardError = true ;
219219 }
220-
220+
221221 base . OnDriverProcessStarting ( eventArgs ) ;
222222 }
223-
223+
224224 /// <summary>
225225 /// Handles the event when the driver process has started.
226226 /// </summary>
@@ -235,10 +235,10 @@ protected override void OnDriverProcessStarted(DriverProcessStartedEventArgs eve
235235 {
236236 _ = Task . Run ( ( ) => ReadStreamAsync ( eventArgs . StandardOutputStreamReader ) ) ;
237237 }
238-
238+
239239 if ( eventArgs . StandardErrorStreamReader != null )
240240 {
241- _ = Task . Run ( ( ) => ReadStreamAsync ( eventArgs . StandardErrorStreamReader ) ) ;
241+ _ = Task . Run ( ( ) => ReadStreamAsync ( eventArgs . StandardErrorStreamReader ) ) ;
242242 }
243243
244244 base . OnDriverProcessStarted ( eventArgs ) ;
@@ -342,7 +342,7 @@ private static string FirefoxDriverServiceFileName()
342342
343343 return fileName ;
344344 }
345-
345+
346346 private async Task ReadStreamAsync ( StreamReader reader )
347347 {
348348 string ? line ;
0 commit comments