From e80eae13a39a9f99c4eb9c227d4223ccbca78c8e Mon Sep 17 00:00:00 2001 From: Jim Evans Date: Thu, 13 Jun 2019 10:30:18 -0700 Subject: [PATCH] Remove no-longer-used internal capability in .NET ChromiumOptions --- dotnet/src/webdriver/Chromium/ChromiumOptions.cs | 5 ----- 1 file changed, 5 deletions(-) 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, ""); } ///