title: webelement.text not work (browser = webdriver.Firefox)
body: <p>I want to extract text between <code>&lt;tag&gt;&lt;/tag&gt;</code> (In my case, <code>&lt;tr&gt;&lt;/tr&gt;</code>). so, I'm using webelement.text</p>
  
  <pre><code>self.browser = webdriver.Firefox()
  table = self.browser.find_element_by_tag_name('table')
  ....
  rows = table.find_elements_by_tag_name('tr')
  print rows
  for element in rows:
      print type(element)
      print element.text
      print type(element.text)
  </code></pre>
  
  <p>and output is:</p>
  
  <pre><code>[&lt;selenium.webdriver.remote.webelement.WebElement object at 0x0151E390&gt;] # &lt;-print rows
  &lt;class 'selenium.webdriver.remote.webelement.WebElement'&gt; # &lt;-print type(element)
  # &lt;-nothing from print element.text
  &lt;type 'unicode'&gt; # &lt;-print type(e.text)
  </code></pre>
  
  <p>So there is nothing  from element.text, but the  tags is not empty. <code>&lt;tr&gt;blablabla&lt;/tr&gt;</code></p>
  
  <p>I got no possibility to check it on other browsers.</p>
  
  <p>The problem is with <code>&lt;tr&gt;</code>
  It dont see text inside  <code>&lt;tr&gt;blabla&lt;/tr&gt;</code>:</p>
  
  <p><code>rows = table.find_elements_by_tag_name('tr')</code> will be emplty.</p>
  
  <p>But it see it inside <code>&lt;tr&gt;&lt;td&gt;blabla&lt;/td&gt;&lt;/tr&gt;</code>:</p>
  
  <pre><code>rows = table.find_elements_by_tag_name('tr')
  for element in rows:
      print element.text # &lt;-blabla
  </code></pre>
  
  <p>Though, it doesnt work on <strong>any</strong> nested element:</p>
  
  <pre><code>&lt;tr&gt;&lt;h1&gt;blabla&lt;/h1&gt;&lt;/tr&gt;:
  </code></pre>
  
  <p><code>rows = table.find_elements_by_tag_name('tr')</code> will be emplty.
  The <a href="http://selenium-python.readthedocs.org/en/latest/api.html" rel="nofollow">documentation</a> on <code>webelement.text</code> says just </p>
  
  <blockquote>
    <p>text</p>
  
  <pre><code>Gets the text of the element.
  </code></pre>
    
    <p>Its just dont consider text inside <code>&lt;tr&gt;text&lt;/tr&gt;</code> as the text of the <code>&lt;tr&gt;</code> element, I suppose.</p>
  </blockquote>