Skip to content

Commit

Permalink
[dotnet] Fixing an old copy&paste for docs
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
diemol committed Sep 24, 2021
1 parent f8dad59 commit 9d55d47
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions dotnet/src/webdriver/Safari/SafariDriverService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,21 +168,21 @@ public static SafariDriverService CreateDefaultService()
}

/// <summary>
/// Creates a default instance of the SafariDriverService using a specified path to the ChromeDriver executable.
/// Creates a default instance of the SafariDriverService using a specified path to the SafariDriver executable.
/// </summary>
/// <param name="driverPath">The directory containing the ChromeDriver executable.</param>
/// <returns>A ChromeDriverService using a random port.</returns>
/// <param name="driverPath">The directory containing the SafariDriver executable.</param>
/// <returns>A SafariDriverService using a random port.</returns>
public static SafariDriverService CreateDefaultService(string driverPath)
{
return CreateDefaultService(driverPath, DefaultSafariDriverServiceExecutableName);
}

/// <summary>
/// Creates a default instance of the SafariDriverService using a specified path to the ChromeDriver executable with the given name.
/// Creates a default instance of the SafariDriverService using a specified path to the SafariDriver executable with the given name.
/// </summary>
/// <param name="driverPath">The directory containing the ChromeDriver executable.</param>
/// <param name="driverExecutableFileName">The name of the ChromeDriver executable file.</param>
/// <returns>A ChromeDriverService using a random port.</returns>
/// <param name="driverPath">The directory containing the SafariDriver executable.</param>
/// <param name="driverExecutableFileName">The name of the SafariDriver executable file.</param>
/// <returns>A SafariDriverService using a random port.</returns>
public static SafariDriverService CreateDefaultService(string driverPath, string driverExecutableFileName)
{
return new SafariDriverService(driverPath, driverExecutableFileName, PortUtilities.FindFreePort());
Expand Down

0 comments on commit 9d55d47

Please sign in to comment.