diff --git a/dotnet/src/webdriver/Chromium/ChromiumOptions.cs b/dotnet/src/webdriver/Chromium/ChromiumOptions.cs index effc4ab3c4759..264e6791d21fc 100644 --- a/dotnet/src/webdriver/Chromium/ChromiumOptions.cs +++ b/dotnet/src/webdriver/Chromium/ChromiumOptions.cs @@ -33,10 +33,6 @@ public abstract class ChromiumOptions : DriverOptions /// private const string DefaultCapability = "goog:chromeOptions"; - // TODO: Remove this if block when chromedriver bug 2371 is fixed - // (https://bugs.chromium.org/p/chromedriver/issues/detail?id=2371) - internal static readonly string ForceAlwaysMatchCapabilityName = "se:forceAlwaysMatch"; - private const string DefaultBrowserNameValue = "chrome"; private const string ArgumentsChromeOption = "args"; @@ -91,7 +87,6 @@ public ChromiumOptions(string browserName = DefaultBrowserNameValue, string capa this.AddKnownCapabilityName(ChromiumOptions.PerformanceLoggingPreferencesChromeOption, "PerformanceLoggingPreferences property"); this.AddKnownCapabilityName(ChromiumOptions.WindowTypesChromeOption, "AddWindowTypes method"); this.AddKnownCapabilityName(ChromiumOptions.UseSpecCompliantProtocolOption, "UseSpecCompliantProtocol property"); - this.AddKnownCapabilityName(ChromiumOptions.ForceAlwaysMatchCapabilityName, ""); } ///