diff --git a/dotnet/src/webdriver/Chromium/ChromiumOptions.cs b/dotnet/src/webdriver/Chromium/ChromiumOptions.cs index 264e6791d21fc..600366c43b177 100644 --- a/dotnet/src/webdriver/Chromium/ChromiumOptions.cs +++ b/dotnet/src/webdriver/Chromium/ChromiumOptions.cs @@ -592,7 +592,7 @@ private Dictionary BuildChromeOptionsDictionary() chromeOptions[DetachChromeOption] = this.leaveBrowserRunning; } - if (this.useSpecCompliantProtocol) + if (!this.useSpecCompliantProtocol) { chromeOptions[UseSpecCompliantProtocolOption] = this.useSpecCompliantProtocol; }