title: driver.manage().logs().get("browser"); does not work when called again
body: <p>I'm trying to capture the browser console logs of Chrome using selenium webdriver. I used the below method twice in a <code>@Test</code> method. It returns the console logs when it is executed for the first time but when I call it again it returns an empty log entry.  </p>
  
  <pre><code>public String getConsoleLogs(WebDriver driver)
  {
       String consoleError="";
       LogEntries log=driver.manage().logs().get("browser"); 
       for(LogEntry entry:logs.getAll())
              {
                    consoleError+=entry.toString()
               }
       return consoleError;
  }
  </code></pre>
  
  <p>Edit: Altered the code to give more clarity on my issue. When this is method is called the second time, the consoleError is an empty String.</p>