title: How to enable chromedriver logging in from the selenium webdriver
body: <p>How can I enable the chromedriver verbose logging capabilities from within the selenium webdriver?</p>
  
  <p>I found the appropriate methods <code>loggingTo</code> and <code>enableVerboseLogging</code> but cannot seem to use them prtoperly:</p>
  
  <pre><code>require('chromedriver');
  const webdriver = require('selenium-webdriver');
  
  let capabilities = webdriver.Capabilities.chrome();
  capabilities.setScrollBehavior(1);
  let builder = new webdriver.Builder().withCapabilities(capabilities);
  builder.enableVerboseLogging(); // fails!!!
  let driver = builder.build();
  </code></pre>