Skip to content

Commit

Permalink
[dotnet] Fixed typos in EdgeDriverService.cs (#8098)
Browse files Browse the repository at this point in the history
  • Loading branch information
icnocop authored Mar 10, 2020
1 parent aeb6175 commit adce515
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions dotnet/src/webdriver/Edge/EdgeDriverService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ public bool UseVerboseLogging

/// <summary>
/// Gets or sets a value indicating whether the <see cref="EdgeDriverService"/> 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.
/// </summary>
/// <remarks>
/// Setting this property to a non-<see langword="null"/> 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.
Expand All @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -253,7 +253,7 @@ protected override string CommandLineArguments
/// <summary>
/// Creates a default instance of the EdgeDriverService.
/// </summary>
/// <param name="isLegacy">Wheter to use legacy mode. Default is to true.</param>
/// <param name="isLegacy">Whether to use legacy mode. Default is to true.</param>
/// <returns>A EdgeDriverService that implements default settings.</returns>
public static EdgeDriverService CreateDefaultService(bool isLegacy = true)
{
Expand All @@ -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.
/// </summary>
/// <param name="driverPath">The directory containing the EdgeDriver executable.</param>
/// <param name="isLegacy">Wheter to use legacy mode. Default is to true.</param>
/// <param name="isLegacy">Whether to use legacy mode. Default is to true.</param>
/// <returns>A EdgeDriverService using a random port.</returns>
public static EdgeDriverService CreateDefaultService(string driverPath, bool isLegacy = true)
{
Expand Down

0 comments on commit adce515

Please sign in to comment.