Skip to content

Commit

Permalink
Correcting .NET compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Dec 7, 2020
1 parent a46a9ac commit 8098753
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dotnet/src/webdriver/Chromium/ChromiumDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,15 +172,15 @@ public object ExecuteChromeCommandWithResult(string commandName, Dictionary<stri
/// <returns>The active session to use to communicate with the Chromium Developer Tools debugging protocol.</returns>
public DevToolsSession GetDevToolsSession()
{
return CreateDevToolsSession(DevToolsSession.AutoDetectDevToolsProtocolVersion);
return GetDevToolsSession(DevToolsSession.AutoDetectDevToolsProtocolVersion);
}

/// <summary>
/// Creates a session to communicate with a browser using the Chromium Developer Tools debugging protocol.
/// </summary>
/// <param name="devToolsProtocolVersion">The version of the Chromium Developer Tools protocol to use. Defaults to autodetect the protocol version.</param>
/// <returns>The active session to use to communicate with the Chromium Developer Tools debugging protocol.</returns>
public DevToolsSession CreateDevToolsSession(int devToolsProtocolVersion)
public DevToolsSession GetDevToolsSession(int devToolsProtocolVersion)
{
if (this.devToolsSession == null)
{
Expand Down
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/Remote/IHasCommandExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ namespace OpenQA.Selenium.Remote
{
public interface IHasCommandExecutor
{
public ICommandExecutor CommandExecutor { get; }
ICommandExecutor CommandExecutor { get; }
}
}
2 changes: 1 addition & 1 deletion dotnet/test/common/DevTools/DevToolsTestFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void Setup()
return;
}

session = devTools.CreateDevToolsSession();
session = devTools.GetDevToolsSession();
}

[TearDown]
Expand Down

0 comments on commit 8098753

Please sign in to comment.