title: Selenium webdriver select text of a subclass
body: <p>I have one class nested inside another class:</p>
  
  <pre><code>&lt;div&gt;
      &lt;div class="label"&gt;
          &lt;div class="title"&gt;My Title 1&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="label"&gt;
          &lt;div class="title"&gt;My Title 2&lt;/div&gt;
      &lt;/div&gt;
      ....
  &lt;/div&gt;
  </code></pre>
  
  <p>How do I get a list of <code>My Title 1, My Title 2</code>?  I have tried this:</p>
  
  <pre><code>driver.find_elements_by_xpath("//div[@class='label']/div[@class='title]")
  </code></pre>
  
  <p>But got this error <code>The string '//div[@class='label']/div[@class='title]' is not a valid XPath expression.</code></p>
  
  <p>I have also tried:</p>
  
  <pre><code>driver.find_elements_by_css_selector(".label .title")
  </code></pre>
  
  <p>But also got nothing...</p>