diff --git a/dotnet/src/webdriver/DriverService.cs b/dotnet/src/webdriver/DriverService.cs index 08c3468b78d58..fb39a3397b4cd 100644 --- a/dotnet/src/webdriver/DriverService.cs +++ b/dotnet/src/webdriver/DriverService.cs @@ -250,11 +250,14 @@ public void Dispose() } /// - /// Starts the DriverService. + /// Starts the DriverService if it is not already running. /// [SecurityPermission(SecurityAction.Demand)] public void Start() { + if(this.driverServiceProcess != null) + return; + this.driverServiceProcess = new Process(); this.driverServiceProcess.StartInfo.FileName = Path.Combine(this.driverServicePath, this.driverServiceExecutableName); this.driverServiceProcess.StartInfo.Arguments = this.CommandLineArguments;