Skip to content

Commit 8098753

Browse files
committed
Correcting .NET compile error
1 parent a46a9ac commit 8098753

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dotnet/src/webdriver/Chromium/ChromiumDriver.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,15 @@ public object ExecuteChromeCommandWithResult(string commandName, Dictionary<stri
172172
/// <returns>The active session to use to communicate with the Chromium Developer Tools debugging protocol.</returns>
173173
public DevToolsSession GetDevToolsSession()
174174
{
175-
return CreateDevToolsSession(DevToolsSession.AutoDetectDevToolsProtocolVersion);
175+
return GetDevToolsSession(DevToolsSession.AutoDetectDevToolsProtocolVersion);
176176
}
177177

178178
/// <summary>
179179
/// Creates a session to communicate with a browser using the Chromium Developer Tools debugging protocol.
180180
/// </summary>
181181
/// <param name="devToolsProtocolVersion">The version of the Chromium Developer Tools protocol to use. Defaults to autodetect the protocol version.</param>
182182
/// <returns>The active session to use to communicate with the Chromium Developer Tools debugging protocol.</returns>
183-
public DevToolsSession CreateDevToolsSession(int devToolsProtocolVersion)
183+
public DevToolsSession GetDevToolsSession(int devToolsProtocolVersion)
184184
{
185185
if (this.devToolsSession == null)
186186
{

dotnet/src/webdriver/Remote/IHasCommandExecutor.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ namespace OpenQA.Selenium.Remote
2020
{
2121
public interface IHasCommandExecutor
2222
{
23-
public ICommandExecutor CommandExecutor { get; }
23+
ICommandExecutor CommandExecutor { get; }
2424
}
2525
}

dotnet/test/common/DevTools/DevToolsTestFixture.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void Setup()
2929
return;
3030
}
3131

32-
session = devTools.CreateDevToolsSession();
32+
session = devTools.GetDevToolsSession();
3333
}
3434

3535
[TearDown]

0 commit comments

Comments
 (0)