title: How to get text from inside tag use selenium webdriver java?
body: <p><strong><em>Here my HTML:-</em></strong></p>
  
  <pre><code>&lt;li id="li1"&gt;
    &lt;div&gt;
      &lt;p class="font11 metadata_value"&gt;0 Views | 14 Downloads&lt;/p&gt;
      &lt;p class="font11 metadata_value"&gt;639.78 MB&lt;/p&gt;
  &lt;/div&gt;                      
  &lt;/li&gt;
  </code></pre>
  
  <p>I want to get 639.78</p>
  
  <p>How to get use selenium java?</p>
  
  <p>I wrote this code but not working. </p>
  
  <p><code>System.out.println(driver.findElement(By.xpath(".//[@id='li1']/div[1]/p[2]")).getText());</code></p>