Skip to content

Commit 474bf17

Browse files
committed
Fix build
1 parent 3fd6526 commit 474bf17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/src/webdriver/Remote/RemoteWebDriver.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ namespace OpenQA.Selenium.Remote
6464
/// </example>
6565
public class RemoteWebDriver : WebDriver, IDevTools, IHasDownloads
6666
{
67-
private readonly ILogger _logger = Log.GetLogger(typeof(RemoteWebDriver));
67+
private static readonly ILogger _logger = QA.Selenium.Internal.Logging.Log.GetLogger(typeof(RemoteWebDriver));
6868

6969
/// <summary>
7070
/// The name of the Selenium grid remote DevTools end point capability.
@@ -428,7 +428,7 @@ public ReadOnlyCollection<IWebElement> FindElementsByCssSelector(string cssSelec
428428
/// <returns>The active session to use to communicate with the Developer Tools debugging protocol.</returns>
429429
public DevToolsSession GetDevToolsSession()
430430
{
431-
if (this.Capabilities.GetCapability(BrowserName) == "firefox")
431+
if (this.Capabilities.GetCapability(CapabilityType.BrowserName) == "firefox")
432432
{
433433
if (_logger.IsEnabled(LogEventLevel.Warn))
434434
{

0 commit comments

Comments
 (0)