title: How to obtain native logger in Selenium WebDriver
body: <p>Is it possible to obtain the logger somehow that Selenium WebDriver uses? I want to capture a transcript of all the commands that were issued (eg: open, wait, click, etc). In particular I am looking for a java solution, as I am exporting the tests into junit.</p>
  
  <p>I found this code on their website, however it displays nothing on standard out</p>
  
  <pre><code>    DesiredCapabilities caps = DesiredCapabilities.firefox(); 
      LoggingPreferences logs = new LoggingPreferences(); 
      logs.enable(LogType.DRIVER, Level.FINEST); 
      caps.setCapability(CapabilityType.LOGGING_PREFS, logs); 
      driver = new FirefoxDriver(caps);
  </code></pre>