title: I need to get the title for a news article using Selenium
body: <p>I'm using Selenium webdriver to get the html from www.cnn.com 
  Currently, I'm able to get the headlines from cnn but I was wondering if I could save the content into a text file and then search for specific headlines to print out. </p>
  
  <p>My python code:</p>
  
  <pre><code>from selenium import webdriver
  
  driver = webdriver.Firefox()
  driver.get('http://www.cnn.com')
  
  content = driver.find_element_by_xpath("html").text
  </code></pre>
  
  <p>Can anyone help me?</p>