title: Selenium Chrome Driver (75 onward) problem accessing Logs using GetLog() method
body: <p>In version <code>74.0.3729.6</code> of the <code>Selenium.WebDriver.ChromeDriver</code> I am able to run the following code without problem:</p>
  
  <pre><code>foreach (var logItem in driverInstance.Manage().Logs.GetLog(LogType.Browser).ToList())
  {
      NLogLogger.Debug(logItem.Message);
  }
  </code></pre>
  
  <p>But from version <code>75.0.3770.90</code></p>
  
  <p><code>System.NullReferenceException: 'Object reference not set to an instance of an object.'
  </code></p>
  
  <p>Within the latest release notes I found some mention of logging changing but no clear indication of what has changed or might be causing this problem:</p>
  
  <blockquote>
    <ul>
    <li>Resolved issue 2947: No W3C compliant endpoints for retrieving logs    [Pri-2]</li>
    <li>Resolved issue 2803: Capability name loggingPrefs is not spec    compliant [Pri-2]</li>
    </ul>
    
    <p><a href="https://chromedriver.storage.googleapis.com/75.0.3770.90/notes.txt" rel="nofollow noreferrer">https://chromedriver.storage.googleapis.com/75.0.3770.90/notes.txt</a></p>
  </blockquote>
  
  <p>Ideally I would not like to remove this code as my ability to acquire logs from the browser side is a requirement but I would also not like to be locked down to version 74 of the Selenium Chrome Driver as this will obviously over time become a bigger and bigger problem, so I am wondering whether someone could suggest a different way of accessing these logs dynamically?</p>