diff --git a/dotnet/src/webdriver/IE/InternetExplorerOptions.cs b/dotnet/src/webdriver/IE/InternetExplorerOptions.cs index 6f8a9c662743f..f1e977483b2e3 100644 --- a/dotnet/src/webdriver/IE/InternetExplorerOptions.cs +++ b/dotnet/src/webdriver/IE/InternetExplorerOptions.cs @@ -109,7 +109,7 @@ public class InternetExplorerOptions : DriverOptions private TimeSpan fileUploadDialogTimeout = TimeSpan.MinValue; private string initialBrowserUrl = string.Empty; private string browserCommandLineArguments = string.Empty; - private string edgeExecutablePathCapability = string.Empty; + private string edgeExecutablePath = string.Empty; private InternetExplorerElementScrollBehavior elementScrollBehavior = InternetExplorerElementScrollBehavior.Default; private Dictionary additionalInternetExplorerOptions = new Dictionary(); @@ -137,7 +137,7 @@ public InternetExplorerOptions() : base() this.AddKnownCapabilityName(EnsureCleanSessionCapability, "EnsureCleanSession property"); this.AddKnownCapabilityName(FileUploadDialogTimeoutCapability, "FileUploadDialogTimeout property"); this.AddKnownCapabilityName(EnableFullPageScreenshotCapability, "EnableFullPageScreenshot property"); - this.AddKnownCapabilityName(LegacyFileUploadDialogHanldingCapability, "LegacyFileUploadDialogHanlding property"); + this.AddKnownCapabilityName(LegacyFileUploadDialogHandlingCapability, "LegacyFileUploadDialogHanlding property"); this.AddKnownCapabilityName(AttachToEdgeChromeCapability, "AttachToEdgeChrome property"); this.AddKnownCapabilityName(EdgeExecutablePathCapability, "EdgeExecutablePath property"); } @@ -485,17 +485,17 @@ private Dictionary BuildInternetExplorerOptionsDictionary() if (this.legacyFileUploadDialogHandling) { - internetExplorerOptionsDictionary[LegacyFileUploadDialogHandling] = true; + internetExplorerOptionsDictionary[LegacyFileUploadDialogHandlingCapability] = true; } if (this.attachToEdgeChrome) { - internetExplorerOptionsDictionary[AttachToEdgeChrome] = true; + internetExplorerOptionsDictionary[AttachToEdgeChromeCapability] = true; } - if (!string.IsNullOrEmpty(this.edgeExecutablePathCapability)) + if (!string.IsNullOrEmpty(this.edgeExecutablePath)) { - internetExplorerOptionsDictionary[EdgeExecutablePathCapability] = this.edgeExecutablePathCapability; + internetExplorerOptionsDictionary[EdgeExecutablePathCapability] = this.edgeExecutablePath; } foreach (KeyValuePair pair in this.additionalInternetExplorerOptions)