Skip to content

Commit

Permalink
Adding excludeSwitches to the list of known Chrome options
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Mar 4, 2014
1 parent b20e5d3 commit 693740c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dotnet/src/webdriver/Chrome/ChromeOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ public void AddAdditionalCapability(string capabilityName, object capabilityValu
capabilityName == ChromeOptions.DetachChromeOption ||
capabilityName == ChromeOptions.DebuggerAddressChromeOption ||
capabilityName == ChromeOptions.ExtensionsChromeOption ||
capabilityName == ChromeOptions.ExcludeSwitchesChromeOption ||
capabilityName == ChromeOptions.MinidumpPathChromeOption)
{
string message = string.Format(CultureInfo.InvariantCulture, "There is already an option for the {0} capability. Please use that instead.", capabilityName);
Expand Down

0 comments on commit 693740c

Please sign in to comment.