From adce515aae4950f437c6a60acf151fdddab8233d Mon Sep 17 00:00:00 2001 From: Rami Date: Tue, 10 Mar 2020 16:20:58 -0700 Subject: [PATCH] [dotnet] Fixed typos in EdgeDriverService.cs (#8098) --- dotnet/src/webdriver/Edge/EdgeDriverService.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dotnet/src/webdriver/Edge/EdgeDriverService.cs b/dotnet/src/webdriver/Edge/EdgeDriverService.cs index f3d6b8ed27e8f..829b5fa53af23 100644 --- a/dotnet/src/webdriver/Edge/EdgeDriverService.cs +++ b/dotnet/src/webdriver/Edge/EdgeDriverService.cs @@ -131,13 +131,13 @@ public bool UseVerboseLogging /// /// Gets or sets a value indicating whether the instance - /// should use the a protocol dialect compliant with the W3C WebDriver Specification. + /// should use a protocol dialect compliant with the W3C WebDriver Specification. /// The property only exists in legacy mode. /// /// /// Setting this property to a non- value for driver /// executables matched to versions of Windows before the 2018 Fall Creators - /// Update will result in a the driver executable shutting down without + /// Update will result in the driver executable shutting down without /// execution, and all commands will fail. Do not set this property unless /// you are certain your version of the MicrosoftWebDriver.exe supports the /// --w3c and --jwp command-line arguments. @@ -148,7 +148,7 @@ public bool? UseSpecCompliantProtocol { if (!this.isLegacy) { - throw new ArgumentException("UseVerboseLogging property does not exist"); + throw new ArgumentException("UseSpecCompliantProtocol property does not exist"); } return this.useSpecCompliantProtocol; @@ -157,7 +157,7 @@ public bool? UseSpecCompliantProtocol { if (!this.isLegacy) { - throw new ArgumentException("UseVerboseLogging property does not exist"); + throw new ArgumentException("UseSpecCompliantProtocol property does not exist"); } this.useSpecCompliantProtocol = value; @@ -253,7 +253,7 @@ protected override string CommandLineArguments /// /// Creates a default instance of the EdgeDriverService. /// - /// Wheter to use legacy mode. Default is to true. + /// Whether to use legacy mode. Default is to true. /// A EdgeDriverService that implements default settings. public static EdgeDriverService CreateDefaultService(bool isLegacy = true) { @@ -272,7 +272,7 @@ public static EdgeDriverService CreateDefaultService(bool isLegacy = true) /// Creates a default instance of the EdgeDriverService using a specified path to the EdgeDriver executable. /// /// The directory containing the EdgeDriver executable. - /// Wheter to use legacy mode. Default is to true. + /// Whether to use legacy mode. Default is to true. /// A EdgeDriverService using a random port. public static EdgeDriverService CreateDefaultService(string driverPath, bool isLegacy = true) {