Skip to content

Commit cfde816

Browse files
committed
[dotnet] Fix compile errors in InternetExplorerOptions
1 parent eb31a2c commit cfde816

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

dotnet/src/webdriver/IE/InternetExplorerOptions.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public class InternetExplorerOptions : DriverOptions
109109
private TimeSpan fileUploadDialogTimeout = TimeSpan.MinValue;
110110
private string initialBrowserUrl = string.Empty;
111111
private string browserCommandLineArguments = string.Empty;
112-
private string edgeExecutablePathCapability = string.Empty;
112+
private string edgeExecutablePath = string.Empty;
113113
private InternetExplorerElementScrollBehavior elementScrollBehavior = InternetExplorerElementScrollBehavior.Default;
114114
private Dictionary<string, object> additionalInternetExplorerOptions = new Dictionary<string, object>();
115115

@@ -137,7 +137,7 @@ public InternetExplorerOptions() : base()
137137
this.AddKnownCapabilityName(EnsureCleanSessionCapability, "EnsureCleanSession property");
138138
this.AddKnownCapabilityName(FileUploadDialogTimeoutCapability, "FileUploadDialogTimeout property");
139139
this.AddKnownCapabilityName(EnableFullPageScreenshotCapability, "EnableFullPageScreenshot property");
140-
this.AddKnownCapabilityName(LegacyFileUploadDialogHanldingCapability, "LegacyFileUploadDialogHanlding property");
140+
this.AddKnownCapabilityName(LegacyFileUploadDialogHandlingCapability, "LegacyFileUploadDialogHanlding property");
141141
this.AddKnownCapabilityName(AttachToEdgeChromeCapability, "AttachToEdgeChrome property");
142142
this.AddKnownCapabilityName(EdgeExecutablePathCapability, "EdgeExecutablePath property");
143143
}
@@ -485,17 +485,17 @@ private Dictionary<string, object> BuildInternetExplorerOptionsDictionary()
485485

486486
if (this.legacyFileUploadDialogHandling)
487487
{
488-
internetExplorerOptionsDictionary[LegacyFileUploadDialogHandling] = true;
488+
internetExplorerOptionsDictionary[LegacyFileUploadDialogHandlingCapability] = true;
489489
}
490490

491491
if (this.attachToEdgeChrome)
492492
{
493-
internetExplorerOptionsDictionary[AttachToEdgeChrome] = true;
493+
internetExplorerOptionsDictionary[AttachToEdgeChromeCapability] = true;
494494
}
495495

496-
if (!string.IsNullOrEmpty(this.edgeExecutablePathCapability))
496+
if (!string.IsNullOrEmpty(this.edgeExecutablePath))
497497
{
498-
internetExplorerOptionsDictionary[EdgeExecutablePathCapability] = this.edgeExecutablePathCapability;
498+
internetExplorerOptionsDictionary[EdgeExecutablePathCapability] = this.edgeExecutablePath;
499499
}
500500

501501
foreach (KeyValuePair<string, object> pair in this.additionalInternetExplorerOptions)

0 commit comments

Comments
 (0)