title: Getting chrome performance and tracing logs
body: <p>I'm trying to follow the idea suggested in the <a href="https://www.youtube.com/watch?v=0_kAPWSZNY4">Web Performance Testing with WebDriver</a> google test automation conference talk and ChromeDriver <a href="https://sites.google.com/a/chromium.org/chromedriver/logging/performance-log">"Performance Log" documentation page</a> to get the trace data which I want to submit to <a href="http://www.webpagetest.org/">webpagetest</a> for performance analysis later.</p>
  
  <p>How can I retrieve performance logs using <em>python selenium bindings</em>? </p>
  
  <hr>
  
  <p>I've tried to print out <code>log_types</code> available in the driver instance</p>
  
  <pre><code>from selenium import webdriver
  
  driver = webdriver.Chrome()
  driver.get('https://stackoverflow.com')
  
  print driver.log_types
  
  driver.close()
  </code></pre>
  
  <p>but got only </p>
  
  <pre><code>[u'browser', u'driver']
  </code></pre>
  
  <p>And I don't see a relevant <a href="http://peter.sh/experiments/chromium-command-line-switches/">command-line switch</a>.</p>