Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed typos in EdgeDriverService.cs #8098

Merged
merged 1 commit into from
Mar 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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