File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -256,13 +256,15 @@ public void Start()
256256 this . OnDriverProcessStarting ( eventArgs ) ;
257257
258258 this . driverServiceProcess . Start ( ) ;
259- bool serviceAvailable = this . WaitForServiceInitialization ( ) ;
260- DriverProcessStartedEventArgs processStartedEventArgs = new DriverProcessStartedEventArgs ( this . driverServiceProcess ) ;
261- this . OnDriverProcessStarted ( processStartedEventArgs ) ;
262259
263260 this . driverServiceProcess . BeginOutputReadLine ( ) ;
264261 this . driverServiceProcess . BeginErrorReadLine ( ) ;
265262
263+ bool serviceAvailable = this . WaitForServiceInitialization ( ) ;
264+
265+ DriverProcessStartedEventArgs processStartedEventArgs = new DriverProcessStartedEventArgs ( this . driverServiceProcess ) ;
266+ this . OnDriverProcessStarted ( processStartedEventArgs ) ;
267+
266268 if ( ! serviceAvailable )
267269 {
268270 throw new WebDriverException ( $ "Cannot start the driver service on { this . ServiceUrl } ") ;
You can’t perform that action at this time.
0 commit comments